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.001965/0.001965, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002188/0.002188, allocations: 212 kB / 22.25 MB, free: 5.258 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.489/1.489, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.335/3.335, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002068/0.002068, allocations: 72.14 kB / 1.186 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003712/0.3663, allocations: 1.983 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3688, allocations: 1.279 MB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3689, allocations: 7.938 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.3694, allocations: 163.4 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.3699, allocations: 207.2 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.3703, allocations: 167.5 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.3707, allocations: 339 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.3709, allocations: 33.14 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3711, allocations: 151.4 kB / 1.368 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.3713, allocations: 167.3 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.3714, allocations: 16 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3715, allocations: 59.92 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3716, allocations: 99.59 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3717, allocations: 91.41 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3722, allocations: 394.3 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3722, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3722, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3722, allocations: 0 / 1.368 GB, free: 9.078 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.001028/0.3732, allocations: 0.5702 MB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3733, allocations: 8.031 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.3733, allocations: 42.73 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.3734, allocations: 36.7 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.374, allocations: 316.3 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.374, allocations: 7.984 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.374, allocations: 15.94 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.3743, allocations: 109.5 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3743, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.3743, allocations: 7.984 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3743, allocations: 4 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3745, allocations: 63.95 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.3754, allocations: 451.6 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.3758, allocations: 130.8 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3759, allocations: 52.83 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3759, allocations: 0 / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.3762, allocations: 123.2 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 3.416e-06/0.3762, allocations: 3.984 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005791/0.3768, allocations: 229.4 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3768, allocations: 55.41 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.3775, allocations: 0.5289 MB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3775, allocations: 33.7 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.3777, allocations: 172.4 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.3777, allocations: 47.67 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3779, allocations: 65.97 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.378, allocations: 350.7 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3783, allocations: 104.5 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.3785, allocations: 139.6 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.3789, allocations: 191 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3789, allocations: 8 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005738/0.3795, allocations: 329.3 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3795, allocations: 11.94 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3795, allocations: 7.875 kB / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3795, allocations: 0 / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3797, allocations: 51.97 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3797, allocations: 4 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3799, allocations: 15.94 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3799, allocations: 16 kB / 1.373 GB, free: 4.629 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.0001967/0.3801, allocations: 181.8 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.3802, allocations: 35.7 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.3806, allocations: 212.7 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3806, allocations: 0 / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3806, allocations: 0 / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3806, allocations: 3.984 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.3809, allocations: 256.5 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3809, allocations: 0 / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.381, allocations: 20 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.381, allocations: 7.922 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.381, allocations: 4 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.381, allocations: 0 / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.381, allocations: 0 / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.3815, allocations: 228.7 kB / 1.373 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.3816, allocations: 47.69 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.3816, allocations: 0 / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.3817, allocations: 8 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.3818, allocations: 19.97 kB / 1.374 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.3818, allocations: 15.98 kB / 1.374 GB, free: 3.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004217/0.3822, allocations: 323.1 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3822, allocations: 0 / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003111/0.3825, allocations: 59.94 kB / 1.374 GB, free: 3.16 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.002325/0.3849, allocations: 1.11 MB / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3853, allocations: 191.8 kB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3853, allocations: 4.125 kB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3855, allocations: 63.91 kB / 1.375 GB, free: 1.953 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.386, allocations: 101.5 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.3903, allocations: 3.224 MB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.3905, allocations: 183.8 kB / 1.379 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.3907, allocations: 62.94 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.3909, allocations: 115.4 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/0.3909, allocations: 0 / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.4297, allocations: 8.34 MB / 1.387 GB, free: 5.934 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 25.16 kB / 1.387 GB, free: 5.914 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 & /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.1558220917359]