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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.00128/0.00128, allocations: 189.5 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.298/1.298, 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 11.0.1-master/package.mo): time 2.405/2.405, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 71.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7365, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001812/0.7384, allocations: 0.6545 MB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.7398, allocations: 1.19 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.7399, allocations: 4 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.7399, allocations: 3.938 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.74, allocations: 3.938 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.7406, allocations: 222.5 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.7408, allocations: 191.7 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.7409, allocations: 8 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.741, allocations: 71.81 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.7411, allocations: 59.84 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.7412, allocations: 20 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.7413, allocations: 27.98 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.7413, allocations: 11.98 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.7414, allocations: 59.83 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.7415, allocations: 139.7 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7416, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7416, allocations: 7.938 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7416, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 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.0004619/0.742, allocations: 436.4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.7421, allocations: 8.031 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.7421, allocations: 16.84 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.7423, allocations: 172.3 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7423, allocations: 4.375 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.7423, allocations: 16.36 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.7424, allocations: 46.25 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7424, allocations: 192 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7424, allocations: 3.938 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7425, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.7425, allocations: 15.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.7429, allocations: 356.7 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.743, allocations: 34.52 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.743, allocations: 16.94 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.743, allocations: 4 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.7432, allocations: 79.36 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.7432, allocations: 4 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002128/0.7434, allocations: 105.5 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.7435, allocations: 55.41 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.7436, allocations: 117.8 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.7436, allocations: 33.7 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.7437, allocations: 92.05 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.7437, allocations: 11.89 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.7438, allocations: 49.69 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7439, allocations: 326.8 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.744, allocations: 59.97 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.7442, allocations: 92.56 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.7443, allocations: 163.7 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.7444, allocations: 4 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003857/0.7447, allocations: 256.8 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.7448, allocations: 67.39 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7448, allocations: 4 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7449, allocations: 4 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.7449, allocations: 11.98 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7449, allocations: 128 / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.7452, allocations: 63.78 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.7453, allocations: 8 kB / 1.214 GB, free: 7.996 MB / 0.9356 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,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.929e-05/0.7454, allocations: 132.1 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.7454, allocations: 4 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.7454, allocations: 12.38 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7454, allocations: 4 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.7454, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7454, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.7456, allocations: 181.5 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7456, allocations: 0 / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.7456, allocations: 0 / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7456, allocations: 3.984 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.7456, allocations: 8 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7456, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7456, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.7457, allocations: 117 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.7458, allocations: 81.02 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7458, allocations: 7.984 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.7458, allocations: 4 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.7459, allocations: 0 / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.7459, allocations: 4 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.7459, allocations: 95.2 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7459, allocations: 0 / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002243/0.7462, allocations: 36 kB / 1.214 GB, free: 7.223 MB / 0.9356 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 (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.0001288/0.7463, allocations: 107.2 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.7466, allocations: 246.6 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7466, allocations: 0 / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.7467, allocations: 35.92 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.7469, allocations: 16.23 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.7472, allocations: 180.4 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.7474, allocations: 0.6846 MB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.7475, allocations: 15.38 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.7475, allocations: 0 / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of Templates: time 0.002751/0.7502, allocations: 1.389 MB / 1.217 GB, free: 4.484 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches