Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001419/0.001419, allocations: 113 kB / 18.94 MB, free: 2.957 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.001542/0.001542, allocations: 214.9 kB / 22.25 MB, free: 5.121 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_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.002026/0.002026, allocations: 72.89 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003803/0.3568, allocations: 2.059 MB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3593, allocations: 1.369 MB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3595, allocations: 11.88 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.3599, allocations: 155.4 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3604, allocations: 207.2 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.3608, allocations: 163.6 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.3613, allocations: 343 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3615, allocations: 37.12 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.3618, allocations: 163.4 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.362, allocations: 167.3 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.3621, allocations: 16 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.3622, allocations: 55.98 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3624, allocations: 95.66 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3625, allocations: 127.1 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.363, allocations: 390.3 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.363, allocations: 0 / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.363, allocations: 0 / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.363, allocations: 0 / 1.358 GB, free: 3.105 MB / 1.045 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.001063/0.3641, allocations: 0.5663 MB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3641, allocations: 12.03 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.3641, allocations: 42.73 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.3642, allocations: 40.66 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.3648, allocations: 320.3 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.3648, allocations: 11.91 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.3649, allocations: 4 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.3651, allocations: 111.5 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3651, allocations: 0 / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3651, allocations: 0 / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3651, allocations: 4 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.3653, allocations: 59.95 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.3662, allocations: 483.4 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.3665, allocations: 122.7 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3666, allocations: 48.77 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3667, allocations: 11.94 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.3669, allocations: 115.3 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3669, allocations: 0 / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005575/0.3675, allocations: 221.4 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.3675, allocations: 55.34 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.3682, allocations: 0.525 MB / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3682, allocations: 33.7 kB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.3684, allocations: 172.4 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.3684, allocations: 39.78 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3685, allocations: 69.92 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3687, allocations: 346.8 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3689, allocations: 104.5 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3692, allocations: 131.6 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.3695, allocations: 178.5 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3695, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000583/0.3701, allocations: 333.3 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3701, allocations: 11.94 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3701, allocations: 3.984 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3701, allocations: 4.062 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3704, allocations: 55.91 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3704, allocations: 4 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3705, allocations: 19.88 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3706, allocations: 11.94 kB / 1.362 GB, free: 14.68 MB / 1.061 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.0001952/0.3708, allocations: 185.7 kB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.3708, allocations: 35.7 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.3712, allocations: 203.8 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3712, allocations: 4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3712, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3712, allocations: 3.984 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.3716, allocations: 280.5 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3716, allocations: 0 / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.3716, allocations: 11.98 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.3716, allocations: 3.938 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3717, allocations: 11.94 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3717, allocations: 0 / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3717, allocations: 4 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.372, allocations: 200.8 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.3721, allocations: 39.75 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3722, allocations: 7.984 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.3723, allocations: 4 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.3723, allocations: 19.97 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3723, allocations: 8 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003848/0.3727, allocations: 327.1 kB / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3727, allocations: 0 / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003135/0.373, allocations: 67.88 kB / 1.364 GB, free: 13.22 MB / 1.061 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.002233/0.3753, allocations: 1.068 MB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.3757, allocations: 179.8 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3757, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3758, allocations: 59.91 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.3763, allocations: 87.53 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.3807, allocations: 3.188 MB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.3812, allocations: 0.787 MB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.3813, allocations: 54.94 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3815, allocations: 115.4 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of SimCode: time 9.62e-07/0.3815, allocations: 0 / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/0.4328, allocations: 7.558 MB / 1.376 GB, free: 252 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.22, allocations: 3.938 kB / 1.376 GB, free: 248 kB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 19.379409281769767]