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.001331/0.001331, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 198 kB / 16.54 MB, free: 6.672 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.81 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3649, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002433/0.3674, allocations: 0.6546 MB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3693, allocations: 1.194 MB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.3694, allocations: 4 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.3694, allocations: 7.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.3696, allocations: 11.86 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.3704, allocations: 210 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.3707, allocations: 187.7 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3708, allocations: 15.98 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3709, allocations: 67.89 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3711, allocations: 51.86 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.3711, allocations: 16 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3712, allocations: 31.92 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.3713, allocations: 11.92 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3714, allocations: 55.89 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3716, allocations: 143.9 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3716, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3716, allocations: 4 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3716, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 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.0005808/0.3722, allocations: 434.7 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3723, allocations: 12.61 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.3723, allocations: 38.75 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.3724, allocations: 12.84 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3726, allocations: 160.4 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3726, allocations: 4.375 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3726, allocations: 16.36 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3728, allocations: 50.19 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3728, allocations: 7.875 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3728, allocations: 4 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3728, allocations: 0 / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.3729, allocations: 15.98 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.3734, allocations: 364.6 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.3735, allocations: 30.52 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.3735, allocations: 20.94 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3735, allocations: 4 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.3738, allocations: 79.36 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.3738, allocations: 0 / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002792/0.374, allocations: 105.5 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3741, allocations: 51.41 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3742, allocations: 117.8 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3743, allocations: 33.7 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.3743, allocations: 96.12 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3744, allocations: 11.81 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3745, allocations: 49.69 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3746, allocations: 322.8 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3747, allocations: 59.97 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3749, allocations: 96.25 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3751, allocations: 156.1 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3751, allocations: 7.875 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004345/0.3755, allocations: 264.7 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.3756, allocations: 77.39 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3756, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3756, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.3757, allocations: 7.984 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3757, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.376, allocations: 47.94 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3761, allocations: 19.98 kB / 1.058 GB, free: 2.539 MB / 0.8106 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.000114/0.3762, allocations: 131.8 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3762, allocations: 7.906 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.3763, allocations: 8.375 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3763, allocations: 3.938 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3763, allocations: 0 / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3763, allocations: 3.984 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3764, allocations: 173.6 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3765, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.3765, allocations: 4 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3765, allocations: 4 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3765, allocations: 3.984 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3765, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3765, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3767, allocations: 113 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.3767, allocations: 89 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3767, allocations: 0 / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.3768, allocations: 4 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3768, allocations: 15.97 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3768, allocations: 7.938 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.3769, allocations: 87.22 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3769, allocations: 4 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002482/0.3772, allocations: 31.98 kB / 1.059 GB, free: 1.766 MB / 0.8106 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.0005737/0.3777, allocations: 0.6437 MB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.3781, allocations: 254.7 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3782, allocations: 0 / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.3782, allocations: 27.92 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.3785, allocations: 24.11 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3811, allocations: 1.702 MB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3814, allocations: 0.6846 MB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.3815, allocations: 7.984 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.3815, allocations: 19.44 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3815, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.4036, allocations: 2.854 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.524, allocations: 10.23 kB / 1.065 GB, free: 11.45 MB / 0.8262 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