Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_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_9_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.008931/0.008931, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001445/0.001444, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.67/2.67, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 68.62 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.325, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001969/0.327, allocations: 0.6555 MB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3293, allocations: 1.196 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.3294, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.3294, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3296, allocations: 11.88 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.3303, allocations: 224.9 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.3305, allocations: 187.6 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3306, allocations: 8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.3307, allocations: 67.89 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3309, allocations: 63.83 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3309, allocations: 12 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.331, allocations: 31.98 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.331, allocations: 8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.3311, allocations: 59.81 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3314, allocations: 167.4 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3314, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3314, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3314, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 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.0006215/0.3321, allocations: 430.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3321, allocations: 8.031 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.3322, allocations: 12.84 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3323, allocations: 164.4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3323, allocations: 4.375 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.3324, allocations: 12.38 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3325, allocations: 50.23 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3325, allocations: 192 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3326, allocations: 3.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3326, allocations: 7.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.3326, allocations: 19.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.3332, allocations: 352.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.3332, allocations: 38.52 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.3333, allocations: 16.94 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3333, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3335, allocations: 79.31 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3335, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002611/0.3338, allocations: 105.6 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3338, allocations: 51.41 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3339, allocations: 129.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.334, allocations: 33.7 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.334, allocations: 92.05 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.3341, allocations: 3.906 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/0.3342, allocations: 49.69 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3343, allocations: 331.1 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3345, allocations: 55.97 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3346, allocations: 104.1 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3348, allocations: 151.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3348, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000434/0.3353, allocations: 272.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.3353, allocations: 67.39 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3354, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.3354, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.166e-05/0.3354, allocations: 3.938 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3354, allocations: 7.984 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.3358, allocations: 59.97 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.3358, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 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 0.0001335/0.336, allocations: 131.7 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.336, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.336, allocations: 8.375 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.336, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.336, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.336, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.3362, allocations: 177.6 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3362, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.3362, allocations: 7.938 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3362, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3362, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3362, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3362, allocations: 4 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3364, allocations: 112.9 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.3364, allocations: 85.02 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3365, allocations: 12.05 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.3365, allocations: 4.094 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3365, allocations: 7.938 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3365, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.3366, allocations: 91.27 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3366, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002314/0.3368, allocations: 32 kB / 1.094 GB, free: 11 MB / 0.8575 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.0001861/0.337, allocations: 111.7 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.3374, allocations: 255 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3374, allocations: 3.938 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.3374, allocations: 20 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3377, allocations: 21.84 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.338, allocations: 150.8 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3383, allocations: 0.6926 MB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.3383, allocations: 7.938 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.3383, allocations: 11.44 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3383, allocations: 0 / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of Templates: time 0.00423/0.3426, allocations: 1.835 MB / 1.097 GB, free: 7.844 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches