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.002102/0.002102, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002552/0.002552, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.797 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.177/3.177, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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.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.003146/0.003146, allocations: 61.69 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.424, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004301/0.4283, allocations: 1.975 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.431, allocations: 1.286 MB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.4312, allocations: 7.938 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.4317, allocations: 163.4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.4323, allocations: 207.2 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.4327, allocations: 163.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.4332, allocations: 343 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.4333, allocations: 37.05 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.4336, allocations: 155.4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.4338, allocations: 163.3 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.4339, allocations: 16 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.434, allocations: 63.97 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4341, allocations: 95.59 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4343, allocations: 95.34 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.4348, allocations: 390.3 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4348, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.446e-06/0.4348, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4348, allocations: 0 / 1.331 GB, free: 12.32 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.001086/0.4359, allocations: 0.5702 MB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4359, allocations: 8.031 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.436, allocations: 46.73 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.4361, allocations: 36.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4366, allocations: 316.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4366, allocations: 8 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.4366, allocations: 12 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4369, allocations: 111.3 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4369, allocations: 3.938 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4369, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4369, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.4371, allocations: 63.95 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.438, allocations: 451.6 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.4384, allocations: 138.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.4385, allocations: 52.77 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4385, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.4388, allocations: 123.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 3.567e-06/0.4388, allocations: 3.984 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005893/0.4394, allocations: 233.4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.4394, allocations: 51.41 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.4401, allocations: 0.5366 MB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4401, allocations: 33.7 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4403, allocations: 172.5 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.4403, allocations: 31.73 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.4404, allocations: 69.92 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4406, allocations: 350.8 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.4408, allocations: 108.5 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.4411, allocations: 135.6 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.4415, allocations: 183 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4415, allocations: 0 / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005722/0.4421, allocations: 337.3 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4421, allocations: 11.92 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.4421, allocations: 4 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4421, allocations: 0 / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.4423, allocations: 51.91 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4424, allocations: 0 / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4425, allocations: 15.95 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.4425, allocations: 20.05 kB / 1.335 GB, free: 7.871 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.0002021/0.4427, allocations: 186.7 kB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.4428, allocations: 43.64 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.4432, allocations: 207.1 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4432, allocations: 4 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4432, allocations: 0 / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4432, allocations: 3.938 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.4435, allocations: 268.5 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4435, allocations: 4 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.4436, allocations: 15.98 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.4436, allocations: 3.938 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4436, allocations: 7.984 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4436, allocations: 0 / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4436, allocations: 0 / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.444, allocations: 232.7 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.4441, allocations: 31.75 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.4442, allocations: 11.98 kB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.4443, allocations: 4 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.4443, allocations: 27.97 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4444, allocations: 4 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003857/0.4447, allocations: 331.1 kB / 1.336 GB, free: 6.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4447, allocations: 0 / 1.336 GB, free: 6.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003161/0.4451, allocations: 59.89 kB / 1.336 GB, free: 6.383 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 (15): * Single equations (assignments): 11 * 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.002362/0.4474, allocations: 1.112 MB / 1.337 GB, free: 5.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.4479, allocations: 195.8 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.448, allocations: 0 / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4481, allocations: 63.91 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.4486, allocations: 95.66 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.4533, allocations: 3.224 MB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.4535, allocations: 191.9 kB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.4537, allocations: 62.92 kB / 1.341 GB, free: 1.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.4539, allocations: 111.4 kB / 1.341 GB, free: 1.402 MB / 1.029 GB Notification: Performance of SimCode: time 9.21e-07/0.4539, allocations: 0 / 1.341 GB, free: 1.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.4933, allocations: 8.382 MB / 1.349 GB, free: 9.121 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.91, allocations: 5.688 kB / 1.349 GB, free: 9.117 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.907818906998727]