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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_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.0101/0.0101, allocations: 101.8 kB / 15.73 MB, free: 6.055 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.002024/0.002024, allocations: 193.4 kB / 16.68 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.216/2.216, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.81 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8603, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002034/0.8624, allocations: 0.6703 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.864, allocations: 1.187 MB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.8641, allocations: 1.125 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.8641, allocations: 4.594 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.8642, allocations: 15.69 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.8649, allocations: 215.1 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.8652, allocations: 182.7 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.8654, allocations: 11.5 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.8655, allocations: 70.56 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.8657, allocations: 63.22 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.8657, allocations: 14.5 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.8658, allocations: 28.94 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.8658, allocations: 13.31 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.866, allocations: 56.41 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.8662, allocations: 153.4 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8663, allocations: 1.875 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8663, allocations: 0 / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8663, allocations: 3.938 kB / 1.09 GB, free: 3.652 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.0005483/0.8668, allocations: 435.3 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8669, allocations: 10.14 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.8669, allocations: 36.52 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.867, allocations: 13.02 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8671, allocations: 168.5 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.8671, allocations: 5.766 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.8672, allocations: 9.766 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.8673, allocations: 49.12 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8673, allocations: 4.594 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.8673, allocations: 9 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8674, allocations: 1.062 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.8674, allocations: 13.75 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.8679, allocations: 358.9 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.868, allocations: 29.97 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.8681, allocations: 15.98 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.8681, allocations: 5.859 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.8682, allocations: 85.14 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.8682, allocations: 0 / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002376/0.8685, allocations: 99.91 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.8685, allocations: 54.38 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.8686, allocations: 119.7 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.8686, allocations: 33.67 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.8687, allocations: 89.92 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.8687, allocations: 19.77 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.8688, allocations: 48.48 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.8689, allocations: 323.2 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.869, allocations: 59.53 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.8692, allocations: 89.55 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.8693, allocations: 162.9 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8693, allocations: 0.7188 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004118/0.8698, allocations: 261.3 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.8698, allocations: 69.48 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8698, allocations: 4.844 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8698, allocations: 2.438 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.122e-05/0.8699, allocations: 10.83 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8699, allocations: 2.234 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.8702, allocations: 56.23 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.8703, allocations: 15.22 kB / 1.093 GB, free: 1.328 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 7.303e-05/0.8704, allocations: 128 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.8704, allocations: 2.656 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.8704, allocations: 11.14 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8704, allocations: 1.062 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8704, allocations: 0.7969 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8704, allocations: 0 / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.8705, allocations: 175.4 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8705, allocations: 1.375 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.8705, allocations: 6.109 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.8706, allocations: 7.922 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.8706, allocations: 6.344 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.8706, allocations: 1 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8706, allocations: 0 / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.8707, allocations: 116.2 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.8707, allocations: 83.3 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.8708, allocations: 1.75 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.8708, allocations: 5.781 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.8708, allocations: 9 kB / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.8708, allocations: 7.078 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.8709, allocations: 94.08 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8709, allocations: 0.625 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002395/0.8711, allocations: 31.62 kB / 1.093 GB, free: 0.6953 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.0004123/0.8716, allocations: 0.6567 MB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.8719, allocations: 240.1 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.872, allocations: 0.7188 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.872, allocations: 30.77 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.8722, allocations: 15.98 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.8741, allocations: 1.707 MB / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.8744, allocations: 0.686 MB / 1.097 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.8744, allocations: 9.125 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.8745, allocations: 20.78 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8745, allocations: 3.938 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.8951, allocations: 2.946 MB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.611, allocations: 8.781 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > 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/jenkins1/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