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.001044/0.001044, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001174/0.001174, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9623/0.9623, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.287/2.287, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: 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.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.57e-05, allocations: 8.781 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002791/0.002817, allocations: 2.056 MB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.004709, allocations: 1.304 MB / 0.8815 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.004827, allocations: 7.938 kB / 0.8815 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.005266, allocations: 161.5 kB / 0.8816 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.005679, allocations: 212.4 kB / 0.8818 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.005941, allocations: 167.4 kB / 0.882 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.006308, allocations: 343 kB / 0.8823 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.006508, allocations: 45.56 kB / 0.8824 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.006725, allocations: 187.5 kB / 0.8826 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.006899, allocations: 140.3 kB / 0.8827 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.006931, allocations: 17.59 kB / 0.8827 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.007038, allocations: 59.91 kB / 0.8828 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.495e-05/0.007132, allocations: 99.67 kB / 0.8829 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.007214, allocations: 71.7 kB / 0.8829 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.007528, allocations: 258.9 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00753, allocations: 2.062 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.007531, allocations: 4 kB / 0.8832 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.007536, allocations: 0 / 0.8832 GB, free: 1.52 MB / 0.8386 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.0007437/0.00828, allocations: 0.6662 MB / 0.8838 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.008324, allocations: 12.03 kB / 0.8838 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.008403, allocations: 55.06 kB / 0.8839 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.008756, allocations: 287 kB / 0.8842 GB, free: 460 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.008781, allocations: 12.12 kB / 0.8842 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.008799, allocations: 7.984 kB / 0.8842 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.008983, allocations: 98.33 kB / 0.8843 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.008991, allocations: 4.703 kB / 0.8843 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.009003, allocations: 3.938 kB / 0.8843 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.009012, allocations: 5.344 kB / 0.8843 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.009085, allocations: 35.91 kB / 0.8843 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.009679, allocations: 463.4 kB / 0.8848 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.009857, allocations: 95.2 kB / 0.8849 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.009908, allocations: 31.67 kB / 0.8849 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.009927, allocations: 7.984 kB / 0.8849 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.01007, allocations: 93.02 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.01008, allocations: 0 / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003096/0.01039, allocations: 180.5 kB / 0.8852 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.01043, allocations: 63.34 kB / 0.8852 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.01076, allocations: 458.6 kB / 0.8857 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.01078, allocations: 25.7 kB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.0109, allocations: 227.3 kB / 0.8859 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.01094, allocations: 39.72 kB / 0.8859 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.01102, allocations: 75.58 kB / 0.886 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01119, allocations: 0.5274 MB / 0.8865 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.01126, allocations: 40.53 kB / 0.8866 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.01136, allocations: 84.14 kB / 0.8866 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.0115, allocations: 125.2 kB / 0.8868 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01151, allocations: 3.938 kB / 0.8868 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002649/0.01177, allocations: 221.3 kB / 0.887 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01179, allocations: 8 kB / 0.887 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01179, allocations: 0 / 0.887 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.0118, allocations: 0 / 0.887 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.01194, allocations: 55.97 kB / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01195, allocations: 3.938 kB / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.01202, allocations: 23.88 kB / 0.8871 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.01204, allocations: 12 kB / 0.8871 GB, free: 13.3 MB / 0.8542 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.0001095/0.01215, allocations: 176.5 kB / 0.8872 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.01219, allocations: 35.77 kB / 0.8873 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.01242, allocations: 164.2 kB / 0.8874 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01242, allocations: 4 kB / 0.8874 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.01243, allocations: 7.938 kB / 0.8874 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.01243, allocations: 3.984 kB / 0.8874 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.01262, allocations: 244.5 kB / 0.8877 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01262, allocations: 4 kB / 0.8877 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.01266, allocations: 12 kB / 0.8877 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01267, allocations: 0 / 0.8877 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01268, allocations: 7.984 kB / 0.8877 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01268, allocations: 0 / 0.8877 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01268, allocations: 4 kB / 0.8877 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.01288, allocations: 204 kB / 0.8879 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.01292, allocations: 47.7 kB / 0.8879 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.01295, allocations: 0 / 0.8879 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.013, allocations: 11.98 kB / 0.888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.01306, allocations: 19.97 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01307, allocations: 7.938 kB / 0.888 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002852/0.01336, allocations: 283.1 kB / 0.8883 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01336, allocations: 0 / 0.8883 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001977/0.01356, allocations: 59.98 kB / 0.8883 GB, free: 11.96 MB / 0.8542 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.000867/0.01442, allocations: 396.8 kB / 0.8887 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.01465, allocations: 130.2 kB / 0.8888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01465, allocations: 0 / 0.8888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.01472, allocations: 59.72 kB / 0.8889 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.01503, allocations: 95.59 kB / 0.889 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.01561, allocations: 484.8 kB / 0.8894 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.573e-05/0.01568, allocations: 112.5 kB / 0.8895 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.01576, allocations: 58.91 kB / 0.8896 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.01583, allocations: 40.48 kB / 0.8896 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.41e-07/0.01583, allocations: 0 / 0.8896 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.006783/0.02261, allocations: 4.517 MB / 0.894 GB, free: 6.25 MB / 0.8542 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 -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.87702697282657]