Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 180.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008437/0.0008436, allocations: 98.38 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 10.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.268, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.4569, allocations: 131.4 MB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4572, allocations: 71.94 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002459/0.4597, allocations: 0.8878 MB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.777e-06/0.4597, allocations: 4 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.4597, allocations: 4 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004742/0.4602, allocations: 367.1 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4603, allocations: 12.03 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.4603, allocations: 3.984 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4604, allocations: 182.9 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4605, allocations: 8 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.4605, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.4606, allocations: 53.66 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4606, allocations: 3.938 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4607, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4607, allocations: 4 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.4607, allocations: 23.94 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.4612, allocations: 284.8 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4613, allocations: 42.56 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4613, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.4615, allocations: 71.45 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.4615, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002367/0.4617, allocations: 85.58 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.4618, allocations: 59.41 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.4619, allocations: 105 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4619, allocations: 29.7 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.462, allocations: 84.14 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.462, allocations: 19.86 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.462, allocations: 4 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4621, allocations: 314.8 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.4622, allocations: 15.94 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.4622, allocations: 42.56 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.4622, allocations: 12 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4623, allocations: 0 / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001135/0.4624, allocations: 81.53 kB / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4624, allocations: 4 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4624, allocations: 0 / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4624, allocations: 7.984 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.4625, allocations: 8.062 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4625, allocations: 0 / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.4626, allocations: 23.92 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4626, allocations: 0 / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * 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 9.873e-05/0.4627, allocations: 121.7 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.4627, allocations: 4 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.4628, allocations: 8.375 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4628, allocations: 11.94 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4628, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4628, allocations: 3.984 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.463, allocations: 173.6 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.463, allocations: 4.188 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.463, allocations: 3.984 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.463, allocations: 3.938 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.463, allocations: 4 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.463, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.463, allocations: 4 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4632, allocations: 105.6 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.4632, allocations: 81.02 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.4633, allocations: 3.984 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.4633, allocations: 15.98 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.4634, allocations: 11.98 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4634, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.4635, allocations: 99.33 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4635, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001782/0.4637, allocations: 12 kB / 1.032 GB, free: 8.469 MB / 0.6823 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001568/0.4638, allocations: 103.2 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.464, allocations: 43.92 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.464, allocations: 0 / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.464, allocations: 27.98 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.4642, allocations: 16.06 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.4646, allocations: 166.8 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.4648, allocations: 0.6926 MB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.4649, allocations: 11.86 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.4649, allocations: 11.44 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4649, allocations: 0 / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.00296/0.4679, allocations: 0.7361 MB / 1.034 GB, free: 6.605 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches