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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005028/0.005027, allocations: 99.31 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.001156/0.001156, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3665, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002163/0.3687, allocations: 0.6502 MB / 1.208 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3705, allocations: 1.182 MB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.3706, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.3706, allocations: 3.938 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.3708, allocations: 15.84 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.3716, allocations: 212.1 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3719, allocations: 187.7 kB / 1.21 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.372, allocations: 15.97 kB / 1.21 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3721, allocations: 63.89 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3723, allocations: 63.83 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.3723, allocations: 16 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3725, allocations: 31.98 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.3725, allocations: 4 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.378e-05/0.3726, allocations: 67.81 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3729, allocations: 151.8 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3729, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3729, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3729, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 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.0006273/0.3735, allocations: 442.6 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3736, allocations: 12.62 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.3736, allocations: 30.75 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.3737, allocations: 8.938 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3738, allocations: 180.3 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3739, allocations: 8.375 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.3739, allocations: 8.375 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.374, allocations: 50.17 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3741, allocations: 3.938 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3741, allocations: 8 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3741, allocations: 0 / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.3741, allocations: 12 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3746, allocations: 348.7 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.3747, allocations: 42.56 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.3748, allocations: 16.8 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3748, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.375, allocations: 83.36 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.375, allocations: 0 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000257/0.3753, allocations: 105.7 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3753, allocations: 59.34 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3755, allocations: 121.8 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3755, allocations: 29.7 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3756, allocations: 92.12 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.3756, allocations: 11.81 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3757, allocations: 49.69 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3758, allocations: 322.8 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.376, allocations: 55.95 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.3761, allocations: 96.64 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3763, allocations: 159.6 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3764, allocations: 7.938 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004386/0.3768, allocations: 260.9 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.3769, allocations: 67.39 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3769, allocations: 320 / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3769, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.066e-05/0.3769, allocations: 3.938 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3769, allocations: 4 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.3773, allocations: 55.97 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.3774, allocations: 15.97 kB / 1.213 GB, free: 4.445 MB / 0.9669 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.000113/0.3775, allocations: 131.7 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.3775, allocations: 7.906 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.3775, allocations: 8.359 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3776, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3776, allocations: 4 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3776, allocations: 4 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3777, allocations: 177.6 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3777, allocations: 7.938 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.3778, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3778, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3778, allocations: 3.984 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3778, allocations: 4 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3778, allocations: 0 / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.378, allocations: 105.5 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.378, allocations: 89.02 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.378, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.3781, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.3781, allocations: 11.98 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.3781, allocations: 8.062 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.113e-05/0.3782, allocations: 99.14 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3782, allocations: 0 / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002442/0.3785, allocations: 24 kB / 1.213 GB, free: 3.676 MB / 0.9669 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.0005246/0.379, allocations: 0.6591 MB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3794, allocations: 242.7 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3794, allocations: 0 / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.3794, allocations: 31.92 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3797, allocations: 20.17 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3817, allocations: 1.711 MB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.382, allocations: 0.6962 MB / 1.216 GB, free: 128 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.3821, allocations: 4 kB / 1.216 GB, free: 124 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.3821, allocations: 23.42 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3821, allocations: 0 / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.403, allocations: 2.938 MB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.873, allocations: 4.594 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > 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