Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 393.5 MB / 408.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 183.9 kB / 0.4902 GB, free: 2.281 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008963, allocations: 101.9 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 14.97 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.326, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.525, allocations: 150.2 MB / 1.376 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5253, allocations: 75.94 kB / 1.376 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008554/0.5339, allocations: 2.922 MB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of FrontEnd: time 3.928e-06/0.5339, allocations: 0 / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.534, allocations: 3.938 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000478/0.5345, allocations: 422.6 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5345, allocations: 12.03 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.5346, allocations: 15.89 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5347, allocations: 171 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.5347, allocations: 8 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.5348, allocations: 8 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5349, allocations: 49.67 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.5349, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5349, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.5349, allocations: 4 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.535, allocations: 11.94 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.5355, allocations: 352.8 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.5356, allocations: 34.56 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.5356, allocations: 4 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.5358, allocations: 83.31 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.5358, allocations: 4 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002267/0.5361, allocations: 97.66 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5361, allocations: 59.36 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.5362, allocations: 117 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5362, allocations: 29.7 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.5363, allocations: 88.33 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.5363, allocations: 15.81 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.5364, allocations: 4 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5365, allocations: 322.8 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5366, allocations: 67.84 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.5368, allocations: 92.25 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5369, allocations: 107.4 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5369, allocations: 0 / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003948/0.5373, allocations: 256.9 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.5374, allocations: 69.28 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5374, allocations: 3.984 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5374, allocations: 4 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/0.5374, allocations: 3.938 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5375, allocations: 4 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.5378, allocations: 79.95 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.5378, allocations: 15.98 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001063/0.5379, allocations: 126.6 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.538, allocations: 3.984 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.538, allocations: 12.38 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.538, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.538, allocations: 4.062 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.538, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5382, allocations: 181.6 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5382, allocations: 0 / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.5382, allocations: 4 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5382, allocations: 4.469 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.5382, allocations: 4 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5382, allocations: 3.938 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5382, allocations: 3.984 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.5384, allocations: 109.3 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.5384, allocations: 92.94 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.5384, allocations: 4 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.5385, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.5385, allocations: 11.98 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.5385, allocations: 0 / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.5386, allocations: 91.27 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5386, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002435/0.5388, allocations: 39.94 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002316/0.5391, allocations: 115.1 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.5394, allocations: 246.7 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5394, allocations: 4.25 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.5395, allocations: 27.98 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.5397, allocations: 16.8 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.5401, allocations: 159.3 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.5403, allocations: 0.6926 MB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.5404, allocations: 11.77 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.5404, allocations: 11.44 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5404, allocations: 0 / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.004006/0.5444, allocations: 1.669 MB / 1.385 GB, free: 9.762 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches