Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.252/3.252, allocations: 0.4892 GB / 0.7943 GB, free: 35.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 66.94 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3828, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002177/0.385, allocations: 0.7613 MB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3862, allocations: 0.886 MB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.3863, allocations: 0 / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.3863, allocations: 11.88 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.3864, allocations: 15.86 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.3866, allocations: 35.95 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3867, allocations: 79.83 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3868, allocations: 24.25 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.3869, allocations: 39.84 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.387, allocations: 47.77 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.387, allocations: 8 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.387, allocations: 8 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.3871, allocations: 23.91 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.3871, allocations: 23.86 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3872, allocations: 91.61 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3872, allocations: 4 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3872, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3872, allocations: 3.938 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006322/0.3879, allocations: 322 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3879, allocations: 8.031 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.388, allocations: 42.73 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.388, allocations: 8.891 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3881, allocations: 118.4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3882, allocations: 12.38 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3882, allocations: 8.125 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.3885, allocations: 109.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3885, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3885, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3886, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.3889, allocations: 103.9 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.3895, allocations: 287.8 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.3901, allocations: 118.5 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.3903, allocations: 60.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3903, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3904, allocations: 38.55 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.3904, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006781/0.391, allocations: 181.5 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3911, allocations: 51.41 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3912, allocations: 129.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3912, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.3913, allocations: 100.1 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3913, allocations: 23.83 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.3914, allocations: 29.64 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3915, allocations: 310.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3917, allocations: 47.95 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.3919, allocations: 43.95 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3923, allocations: 104.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3923, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004137/0.3927, allocations: 133.5 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3927, allocations: 8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3927, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3927, allocations: 11.92 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3929, allocations: 23.97 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3929, allocations: 4.484 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.393, allocations: 19.94 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.393, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3931, allocations: 114.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3931, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.3932, allocations: 16.36 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3932, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3932, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3932, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3934, allocations: 156.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3934, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.3936, allocations: 35.91 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3936, allocations: 3.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3936, allocations: 3.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3936, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3936, allocations: 3.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.3941, allocations: 243.4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.3941, allocations: 3.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3941, allocations: 8 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3943, allocations: 7.984 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.3943, allocations: 27.91 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3944, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.789e-05/0.3944, allocations: 99.2 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3944, allocations: 4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002434/0.3947, allocations: 19.95 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009134/0.3956, allocations: 0.767 MB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.3961, allocations: 107.8 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3961, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3963, allocations: 63.94 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3966, allocations: 12.97 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.399, allocations: 1.525 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.912e-05/0.3991, allocations: 75.45 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.035e-05/0.3992, allocations: 12 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.3992, allocations: 35.36 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3992, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.432, allocations: 3.362 MB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 9 kB / 1.336 GB, free: 6.883 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.70946875680238]