Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 184.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009448/0.0009451, allocations: 86.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.178e-05, allocations: 7.984 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6967/0.9049, allocations: 135.3 MB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.9051, allocations: 79.14 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02752/0.9327, allocations: 10.61 MB / 1.034 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9327, allocations: 0 / 1.034 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.604e-05/0.9328, allocations: 4 kB / 1.034 GB, free: 6.465 MB / 0.6511 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.0007823/0.9336, allocations: 0.5173 MB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.9336, allocations: 8.031 kB / 1.035 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.9337, allocations: 39.53 kB / 1.035 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.9344, allocations: 377.3 kB / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.9345, allocations: 4 kB / 1.035 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.9345, allocations: 11.36 kB / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.9347, allocations: 103.2 kB / 1.035 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9347, allocations: 0 / 1.035 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.9348, allocations: 3.562 kB / 1.035 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.9348, allocations: 4 kB / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.9349, allocations: 57.78 kB / 1.035 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.9357, allocations: 0.5011 MB / 1.036 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.9359, allocations: 139.8 kB / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.787e-05/0.936, allocations: 46.59 kB / 1.036 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.9361, allocations: 3.984 kB / 1.036 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.9363, allocations: 108.2 kB / 1.036 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.9363, allocations: 0 / 1.036 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003665/0.9367, allocations: 182.8 kB / 1.036 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.9367, allocations: 55.39 kB / 1.036 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.9373, allocations: 459.1 kB / 1.037 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.9373, allocations: 33.08 kB / 1.037 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.9374, allocations: 166.4 kB / 1.037 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.9375, allocations: 34.61 kB / 1.037 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.9375, allocations: 7.312 kB / 1.037 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9377, allocations: 345 kB / 1.037 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.9378, allocations: 114.7 kB / 1.038 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.938, allocations: 145 kB / 1.038 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.9382, allocations: 118.8 kB / 1.038 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9382, allocations: 0 / 1.038 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000483/0.9387, allocations: 351.3 kB / 1.038 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9387, allocations: 8 kB / 1.038 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9388, allocations: 0 / 1.038 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9388, allocations: 4.219 kB / 1.038 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.939, allocations: 55.05 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.939, allocations: 11.94 kB / 1.038 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.9392, allocations: 14.59 kB / 1.038 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.9392, allocations: 19.42 kB / 1.038 GB, free: 2.91 MB / 0.6511 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.9393, allocations: 127 kB / 1.038 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.9394, allocations: 27.62 kB / 1.038 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.9397, allocations: 198.2 kB / 1.039 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.9398, allocations: 8 kB / 1.039 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9398, allocations: 3.953 kB / 1.039 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9398, allocations: 0 / 1.039 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.9401, allocations: 306.8 kB / 1.039 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9401, allocations: 0 / 1.039 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.9402, allocations: 19.3 kB / 1.039 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.9402, allocations: 4 kB / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.9402, allocations: 0 / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9402, allocations: 0 / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9402, allocations: 0 / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.9405, allocations: 226.2 kB / 1.039 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.9406, allocations: 114.8 kB / 1.039 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.9407, allocations: 4 kB / 1.039 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.9408, allocations: 7.375 kB / 1.039 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.9409, allocations: 19.41 kB / 1.039 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.9409, allocations: 7.312 kB / 1.039 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003081/0.9412, allocations: 302.9 kB / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.9412, allocations: 0 / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002873/0.9415, allocations: 78.33 kB / 1.04 GB, free: 1.598 MB / 0.6511 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.u1,intEqu.u2,intEqu.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009407/0.9425, allocations: 398.6 kB / 1.04 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.9428, allocations: 181.7 kB / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9428, allocations: 0 / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.9429, allocations: 68.47 kB / 1.04 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.9434, allocations: 79.05 kB / 1.04 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.9441, allocations: 427.8 kB / 1.041 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.9445, allocations: 0.7929 MB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000169/0.9447, allocations: 58.94 kB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.9448, allocations: 34.8 kB / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.9448, allocations: 3.938 kB / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of Templates: time 0.007434/0.9523, allocations: 3.764 MB / 1.045 GB, free: 12.04 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches