Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001842, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.913/2.913, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.89 kB / 0.8688 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7588, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004172/0.763, allocations: 2.058 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.7654, allocations: 1.19 MB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.7656, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.7661, allocations: 159.6 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.7666, allocations: 135.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.7672, allocations: 208.1 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.7677, allocations: 311.2 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.7679, allocations: 48.39 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.7681, allocations: 151.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.7683, allocations: 151.4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.7684, allocations: 12 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.7686, allocations: 59.89 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.7687, allocations: 91.67 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.7688, allocations: 127.1 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.7693, allocations: 364.7 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.7694, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7694, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7694, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 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.001224/0.7706, allocations: 0.6146 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7707, allocations: 8.031 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.7708, allocations: 40.45 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.7714, allocations: 374.2 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.7714, allocations: 15.97 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.7714, allocations: 8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.7717, allocations: 105.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7717, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.7718, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.7718, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.772, allocations: 59.95 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.7729, allocations: 0.4886 MB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.7733, allocations: 138.7 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.7734, allocations: 52.83 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.7735, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.7737, allocations: 111.3 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.7737, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0006457/0.7744, allocations: 225.2 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.7745, allocations: 55.41 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.7752, allocations: 0.5131 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.7752, allocations: 29.7 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.7754, allocations: 168.4 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.7754, allocations: 35.55 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.7755, allocations: 69.95 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.7757, allocations: 346.8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.776, allocations: 100.5 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.7763, allocations: 139.6 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.7766, allocations: 174.5 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7766, allocations: 0 / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005965/0.7772, allocations: 322.6 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.7773, allocations: 9.469 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7773, allocations: 7.922 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.7773, allocations: 4 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.7776, allocations: 47.86 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.7776, allocations: 7.984 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.7778, allocations: 15.84 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.7778, allocations: 12 kB / 1.026 GB, free: 9.191 MB / 0.7794 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.0002204/0.778, allocations: 186.5 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.7781, allocations: 27.62 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.7782, allocations: 51.06 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7782, allocations: 0 / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7782, allocations: 0 / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.7782, allocations: 0 / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.7786, allocations: 301.4 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7786, allocations: 0 / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.7787, allocations: 15.98 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7787, allocations: 0 / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.7787, allocations: 7.938 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7787, allocations: 0 / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7787, allocations: 8 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.7792, allocations: 208.6 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.7793, allocations: 108.7 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.7793, allocations: 15.92 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.7794, allocations: 7.922 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.7795, allocations: 23.97 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.7796, allocations: 8 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004097/0.78, allocations: 319.1 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.78, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003366/0.7803, allocations: 56 kB / 1.027 GB, free: 7.781 MB / 0.7794 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * 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.001752/0.7821, allocations: 405.6 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.7826, allocations: 208 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7827, allocations: 128 / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.7829, allocations: 67.91 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.7834, allocations: 90.62 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.7845, allocations: 0.5941 MB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.7851, allocations: 0.7909 MB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.7853, allocations: 46.95 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7854, allocations: 35.42 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.535e-06/0.7854, allocations: 0 / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.009956/0.7954, allocations: 4.007 MB / 1.033 GB, free: 1.707 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches