Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001684/0.001684, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001975/0.001975, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.965 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.151/3.151, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.002714/0.002714, allocations: 75.3 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.392, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003531/0.3955, allocations: 2.047 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3979, allocations: 1.368 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.398, allocations: 7.938 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.3984, allocations: 163.4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.3989, allocations: 211.1 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3992, allocations: 167.6 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.3997, allocations: 335.1 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3999, allocations: 33.14 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.4001, allocations: 167.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.4004, allocations: 171.3 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.4004, allocations: 16 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.4005, allocations: 51.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4007, allocations: 99.66 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.4009, allocations: 131.1 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.4014, allocations: 382.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4014, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4014, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.4014, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001094/0.4025, allocations: 0.5663 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4026, allocations: 12.03 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.4026, allocations: 38.73 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.4027, allocations: 40.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.4032, allocations: 320.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4032, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.4033, allocations: 15.88 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.4035, allocations: 111.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4035, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4035, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4035, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4037, allocations: 63.89 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008377/0.4046, allocations: 475.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.4049, allocations: 126.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.405, allocations: 40.84 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.405, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.4053, allocations: 123.2 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.4053, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005449/0.4058, allocations: 218.8 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4059, allocations: 55.41 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.4065, allocations: 0.525 MB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4065, allocations: 33.7 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.4067, allocations: 180.3 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.4067, allocations: 35.8 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4068, allocations: 69.92 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.407, allocations: 346.8 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.4072, allocations: 104.5 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.4075, allocations: 131.6 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.4079, allocations: 175 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4079, allocations: 3.938 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005906/0.4085, allocations: 329.3 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4085, allocations: 15.88 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4085, allocations: 4.062 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4085, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.4087, allocations: 47.97 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4087, allocations: 7.938 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.4089, allocations: 19.88 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4089, allocations: 12 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002065/0.4091, allocations: 182.8 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.4091, allocations: 35.7 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.4096, allocations: 206.1 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4096, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4096, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4096, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.4099, allocations: 280.5 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4099, allocations: 3.938 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.41, allocations: 11.98 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.41, allocations: 7.922 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.41, allocations: 8 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.41, allocations: 4 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.41, allocations: 0 / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.4104, allocations: 208.8 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.4105, allocations: 43.7 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.4106, allocations: 3.984 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.4106, allocations: 8 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.4107, allocations: 19.97 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4107, allocations: 11.98 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000399/0.4111, allocations: 323.1 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4111, allocations: 0 / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003321/0.4115, allocations: 63.89 kB / 1.337 GB, free: 6.719 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002525/0.414, allocations: 1.076 MB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.4146, allocations: 179.8 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4146, allocations: 0 / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.4147, allocations: 55.91 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.4153, allocations: 90.5 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.4196, allocations: 3.192 MB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.4201, allocations: 0.7948 MB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.4203, allocations: 50.94 kB / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.4205, allocations: 107.4 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4205, allocations: 4 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.4601, allocations: 7.567 MB / 1.349 GB, free: 9.742 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.77, allocations: 13.22 kB / 1.349 GB, free: 9.734 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intEqu.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.664233077999597]