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.001438/0.001438, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001303/0.001303, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.036/1.036, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.49/2.49, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.331e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004789/0.004813, allocations: 2.069 MB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.006623, allocations: 1.344 MB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.006749, allocations: 7.938 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.007131, allocations: 151.3 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.00751, allocations: 215 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.007843, allocations: 167.5 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.008191, allocations: 339 kB / 0.8428 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.00831, allocations: 34.88 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.00901, allocations: 271.5 kB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.009194, allocations: 123.7 kB / 0.8432 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.009219, allocations: 16 kB / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.009346, allocations: 59.86 kB / 0.8433 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.009428, allocations: 95.61 kB / 0.8434 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.009494, allocations: 75.7 kB / 0.8435 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.009785, allocations: 255 kB / 0.8437 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.009787, allocations: 0 / 0.8437 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.313e-06/0.009789, allocations: 0 / 0.8437 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.009793, allocations: 0 / 0.8437 GB, free: 8.926 MB / 0.8073 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.0005622/0.01036, allocations: 0.5375 MB / 0.8442 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01039, allocations: 8.625 kB / 0.8442 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.01046, allocations: 24.91 kB / 0.8443 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.01074, allocations: 272 kB / 0.8445 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.01076, allocations: 8.375 kB / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.01078, allocations: 7.938 kB / 0.8445 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.01093, allocations: 109 kB / 0.8446 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.01094, allocations: 0 / 0.8446 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01095, allocations: 4 kB / 0.8446 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.01095, allocations: 0 / 0.8446 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.011, allocations: 19.98 kB / 0.8447 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.01138, allocations: 261.6 kB / 0.8449 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.01151, allocations: 124 kB / 0.845 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.01154, allocations: 24.84 kB / 0.8451 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.01155, allocations: 0 / 0.8451 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.01173, allocations: 94.09 kB / 0.8451 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.01173, allocations: 3.984 kB / 0.8452 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001679/0.0119, allocations: 113.6 kB / 0.8453 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.01192, allocations: 51.41 kB / 0.8453 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01217, allocations: 362.1 kB / 0.8457 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01219, allocations: 37.7 kB / 0.8457 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.01225, allocations: 129.5 kB / 0.8458 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.01228, allocations: 35.72 kB / 0.8458 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.01235, allocations: 73.89 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.01243, allocations: 354.7 kB / 0.8463 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.01248, allocations: 27.38 kB / 0.8463 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.01254, allocations: 72.64 kB / 0.8464 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.01264, allocations: 88.16 kB / 0.8464 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01265, allocations: 4 kB / 0.8464 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001641/0.01281, allocations: 157.9 kB / 0.8466 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01282, allocations: 5.875 kB / 0.8466 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01283, allocations: 4 kB / 0.8466 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01284, allocations: 0 / 0.8466 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01298, allocations: 59.84 kB / 0.8467 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01298, allocations: 0 / 0.8467 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.01304, allocations: 19.89 kB / 0.8467 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.01306, allocations: 11.98 kB / 0.8467 GB, free: 5.684 MB / 0.8073 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.0001979/0.01326, allocations: 136.6 kB / 0.8468 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.01329, allocations: 23.97 kB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.01343, allocations: 119.6 kB / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01344, allocations: 0 / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01344, allocations: 0 / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01344, allocations: 0 / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.01356, allocations: 153.6 kB / 0.8471 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01356, allocations: 0 / 0.8471 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.01361, allocations: 19.98 kB / 0.8471 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01361, allocations: 0 / 0.8471 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01362, allocations: 7.984 kB / 0.8471 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01362, allocations: 0 / 0.8471 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01362, allocations: 0 / 0.8471 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.01374, allocations: 138.5 kB / 0.8473 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.01377, allocations: 35.8 kB / 0.8473 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.0138, allocations: 4 kB / 0.8473 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.01383, allocations: 8 kB / 0.8473 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.01389, allocations: 15.97 kB / 0.8473 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.0139, allocations: 11.98 kB / 0.8473 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001014/0.014, allocations: 140.7 kB / 0.8475 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.014, allocations: 0 / 0.8475 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001635/0.01416, allocations: 59.89 kB / 0.8475 GB, free: 4.773 MB / 0.8073 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.00109/0.01525, allocations: 0.5117 MB / 0.848 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.01539, allocations: 100.9 kB / 0.8481 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.0154, allocations: 128 / 0.8481 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.01545, allocations: 60.69 kB / 0.8482 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01568, allocations: 100.3 kB / 0.8483 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.01618, allocations: 473 kB / 0.8487 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01623, allocations: 104.6 kB / 0.8488 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.338e-05/0.01632, allocations: 50.94 kB / 0.8489 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.01645, allocations: 115.3 kB / 0.849 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.01645, allocations: 0 / 0.849 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of Templates: time 0.006862/0.02332, allocations: 4.857 MB / 0.8537 GB, free: 14.7 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.608911575283855]