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.001385/0.001385, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001665/0.001665, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9104, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003444/0.9139, allocations: 2.006 MB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.9158, allocations: 1.197 MB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.9159, allocations: 3.938 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.9163, allocations: 163.4 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.9167, allocations: 163.3 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.9172, allocations: 221.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.9176, allocations: 311.3 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.9178, allocations: 52.27 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.918, allocations: 155.4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.9182, allocations: 147.4 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.9182, allocations: 16 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.9184, allocations: 59.91 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.9185, allocations: 87.73 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.9186, allocations: 119.2 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.919, allocations: 376.3 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.919, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.032e-06/0.919, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.919, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 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.0009119/0.9199, allocations: 0.6069 MB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.92, allocations: 24.84 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.9201, allocations: 28.56 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.9205, allocations: 382 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.9206, allocations: 8 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.9206, allocations: 4 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.9208, allocations: 105.6 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.9209, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.9209, allocations: 3.984 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9209, allocations: 8 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.9211, allocations: 55.91 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.9218, allocations: 0.4886 MB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.9222, allocations: 138.7 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.9223, allocations: 52.83 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.9223, allocations: 7.938 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.9226, allocations: 108.7 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.9226, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005223/0.9231, allocations: 226.5 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.9232, allocations: 51.41 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.9237, allocations: 0.5131 MB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.9237, allocations: 29.7 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.9238, allocations: 164.4 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.9239, allocations: 43.53 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.924, allocations: 69.88 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9241, allocations: 350.8 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.9243, allocations: 108.5 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.9245, allocations: 132.1 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.9248, allocations: 178.5 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9248, allocations: 0 / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005256/0.9254, allocations: 321.2 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9254, allocations: 14.59 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9254, allocations: 0 / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9254, allocations: 0 / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.9256, allocations: 51.91 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.9257, allocations: 0 / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.9258, allocations: 19.84 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.9258, allocations: 15.98 kB / 1.176 GB, free: 10.31 MB / 0.9044 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.0001905/0.926, allocations: 189.8 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.9261, allocations: 39.47 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.9262, allocations: 31.12 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.9262, allocations: 4 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9262, allocations: 0 / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9262, allocations: 0 / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.9265, allocations: 301.5 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9265, allocations: 0 / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.9266, allocations: 11.98 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9266, allocations: 3.938 kB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.9266, allocations: 8 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9266, allocations: 0 / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9266, allocations: 7.875 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.927, allocations: 204.7 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.9271, allocations: 124.6 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.9272, allocations: 3.938 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.9273, allocations: 8 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.9274, allocations: 23.97 kB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.9274, allocations: 8 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003506/0.9278, allocations: 319.1 kB / 1.178 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9278, allocations: 0 / 1.178 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002991/0.9281, allocations: 56 kB / 1.178 GB, free: 8.906 MB / 0.9044 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.001123/0.9292, allocations: 416.7 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.9296, allocations: 196.1 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9296, allocations: 0 / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.9298, allocations: 66.28 kB / 1.178 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.9303, allocations: 93.92 kB / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.9312, allocations: 0.5567 MB / 1.179 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.9316, allocations: 0.787 MB / 1.18 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.9317, allocations: 35.42 kB / 1.18 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.9317, allocations: 0 / 1.18 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of Templates: time 0.006503/0.9382, allocations: 4.411 MB / 1.184 GB, free: 2.477 MB / 0.9044 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=480 -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/jenkins1/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