Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006141/0.006141, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001424/0.001424, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.16, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00345/1.163, allocations: 2 MB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002029/1.165, allocations: 1.195 MB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/1.165, allocations: 6.625 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005344/1.166, allocations: 156.1 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/1.166, allocations: 160.9 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/1.167, allocations: 223 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004403/1.167, allocations: 308.5 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/1.168, allocations: 48.84 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/1.168, allocations: 160.1 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/1.168, allocations: 148 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/1.168, allocations: 14.38 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/1.168, allocations: 59.5 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/1.168, allocations: 82.97 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/1.169, allocations: 132.5 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/1.169, allocations: 362.9 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.169, allocations: 1.031 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/1.169, allocations: 0 / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.169, allocations: 0 / 1.093 GB, free: 2.496 MB / 0.8575 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.0009901/1.17, allocations: 0.6252 MB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.17, allocations: 10.16 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/1.17, allocations: 32.84 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/1.171, allocations: 374.1 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.171, allocations: 9.734 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/1.171, allocations: 12.62 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/1.171, allocations: 111.4 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.171, allocations: 0 / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/1.171, allocations: 5.391 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.171, allocations: 1.562 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/1.171, allocations: 59.14 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/1.172, allocations: 0.4905 MB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/1.173, allocations: 140 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.173, allocations: 47.38 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/1.173, allocations: 10.39 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/1.173, allocations: 116.4 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/1.173, allocations: 0 / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000627/1.174, allocations: 221.8 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.174, allocations: 53.2 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/1.174, allocations: 0.5101 MB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.174, allocations: 31.7 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.175, allocations: 162.8 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/1.175, allocations: 42.59 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.175, allocations: 73.72 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/1.175, allocations: 348.1 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/1.175, allocations: 97.64 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/1.175, allocations: 135.7 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/1.176, allocations: 189.2 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.176, allocations: 0 / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006323/1.176, allocations: 317 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.176, allocations: 10.09 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.176, allocations: 1.062 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.176, allocations: 2.031 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/1.177, allocations: 46.38 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.177, allocations: 6.844 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/1.177, allocations: 23.73 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/1.177, allocations: 13.17 kB / 1.097 GB, free: 15.73 MB / 0.8731 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.000202/1.177, allocations: 176.2 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/1.177, allocations: 38.45 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/1.177, allocations: 33.97 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.177, allocations: 2.5 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.177, allocations: 0 / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.177, allocations: 1.453 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/1.178, allocations: 303.3 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.178, allocations: 4 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/1.178, allocations: 16.14 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/1.178, allocations: 5.031 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/1.178, allocations: 3.594 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/1.178, allocations: 0.75 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.178, allocations: 1.406 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/1.178, allocations: 202.5 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.178, allocations: 124.3 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/1.179, allocations: 11.38 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/1.179, allocations: 5.75 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/1.179, allocations: 20.62 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/1.179, allocations: 6.406 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004583/1.179, allocations: 314.2 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.5e-07/1.179, allocations: 0 / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003474/1.18, allocations: 58.41 kB / 1.098 GB, free: 14.89 MB / 0.8731 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.001191/1.181, allocations: 425.8 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005451/1.181, allocations: 191.7 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.181, allocations: 0 / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.182, allocations: 59 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/1.182, allocations: 93.39 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.183, allocations: 0.5193 MB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/1.184, allocations: 0.7854 MB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001632/1.184, allocations: 52.95 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/1.184, allocations: 32.11 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of SimCode: time 1.974e-06/1.184, allocations: 0 / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.01202/1.196, allocations: 4.1 MB / 1.104 GB, free: 13.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches