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.001859/0.001859, allocations: 99.66 kB / 18.95 MB, free: 2.84 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.002734/0.002734, allocations: 221 kB / 22.24 MB, free: 5.113 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.785 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.251/3.251, allocations: 0.5107 GB / 0.8158 GB, free: 17.93 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.002084/0.002084, allocations: 62.2 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.005615/0.367, allocations: 1.975 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.3713, allocations: 1.272 MB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3715, allocations: 3.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.3721, allocations: 171.4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008363/0.373, allocations: 211.2 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.3736, allocations: 163.6 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006472/0.3743, allocations: 343 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.3745, allocations: 33.14 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.3748, allocations: 151.4 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.3752, allocations: 163.4 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.3753, allocations: 16 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.3755, allocations: 59.86 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.3757, allocations: 99.66 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3759, allocations: 95.28 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.3766, allocations: 386.3 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3766, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3766, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3766, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 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.001594/0.3782, allocations: 0.5741 MB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.3783, allocations: 12.03 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.285e-05/0.3784, allocations: 38.73 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.3785, allocations: 36.7 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008804/0.3794, allocations: 320.3 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.3794, allocations: 8 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.3794, allocations: 8 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.3799, allocations: 113.5 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3799, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.3799, allocations: 8 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.3799, allocations: 3.984 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.3802, allocations: 67.94 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.3815, allocations: 451.6 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.3821, allocations: 142.6 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.3824, allocations: 52.77 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3824, allocations: 8 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.3828, allocations: 115.3 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 2.494e-06/0.3828, allocations: 0 / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001017/0.3838, allocations: 235.9 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3839, allocations: 51.41 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.385, allocations: 0.5366 MB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.3851, allocations: 29.7 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.3853, allocations: 164.5 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.3854, allocations: 43.67 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3856, allocations: 77.95 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003068/0.3859, allocations: 350.8 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.3862, allocations: 96.52 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.3866, allocations: 139.6 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.3873, allocations: 191 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3873, allocations: 0 / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001023/0.3883, allocations: 341.4 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.3884, allocations: 7.938 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3884, allocations: 7.938 kB / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3884, allocations: 0 / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.3888, allocations: 51.91 kB / 1.372 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3888, allocations: 0 / 1.372 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.389, allocations: 19.89 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.3891, allocations: 15.98 kB / 1.373 GB, free: 4.5 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.0003343/0.3894, allocations: 181.7 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.3895, allocations: 43.7 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008967/0.3904, allocations: 203.6 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3904, allocations: 4 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3904, allocations: 0 / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3905, allocations: 3.984 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.3911, allocations: 264.5 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3911, allocations: 0 / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.3912, allocations: 15.94 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.3912, allocations: 3.938 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.3912, allocations: 11.98 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3912, allocations: 4 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3913, allocations: 0 / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.392, allocations: 224.8 kB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3921, allocations: 39.7 kB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.3922, allocations: 11.98 kB / 1.373 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3924, allocations: 8 kB / 1.374 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3925, allocations: 15.97 kB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.3925, allocations: 11.98 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006741/0.3932, allocations: 331.1 kB / 1.374 GB, free: 3.078 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3932, allocations: 4 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005227/0.3937, allocations: 55.94 kB / 1.374 GB, free: 3.02 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 (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.003791/0.3975, allocations: 1.102 MB / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000772/0.3983, allocations: 195.7 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3983, allocations: 0 / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.3986, allocations: 63.91 kB / 1.375 GB, free: 1.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.3994, allocations: 101.3 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/0.4071, allocations: 3.222 MB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4075, allocations: 187.8 kB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002985/0.4078, allocations: 50.94 kB / 1.379 GB, free: 14.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.4081, allocations: 115.4 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/0.4081, allocations: 0 / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/0.4529, allocations: 8.351 MB / 1.387 GB, free: 5.801 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.16, allocations: 12.02 kB / 1.387 GB, free: 5.793 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable intEqu.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.259683735202998]