Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001239/0.001239, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00144/0.00144, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.921/2.921, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003827, allocations: 8 kB / 0.8722 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8248, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001003/0.8259, allocations: 389 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.8276, allocations: 1.16 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.8277, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.8277, allocations: 3.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.8278, allocations: 15.91 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.8285, allocations: 195 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.8288, allocations: 123.8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.8289, allocations: 12 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.829, allocations: 59.88 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.8291, allocations: 43.88 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.8292, allocations: 8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.8293, allocations: 27.92 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.8293, allocations: 7.984 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.8294, allocations: 41.69 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.8295, allocations: 99.77 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8295, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8295, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.8295, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 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.000509/0.8301, allocations: 416.5 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8301, allocations: 8.031 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.8302, allocations: 11.98 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.8303, allocations: 171 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.8303, allocations: 4 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.8304, allocations: 8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.8305, allocations: 53.62 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8305, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.8305, allocations: 8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.8306, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.8306, allocations: 15.94 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.8311, allocations: 352.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.8312, allocations: 38.56 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.8312, allocations: 16.86 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8313, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.8314, allocations: 87.33 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.8315, allocations: 4 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002704/0.8317, allocations: 109.5 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.8318, allocations: 51.41 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.8319, allocations: 118 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.8319, allocations: 29.7 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.832, allocations: 100.2 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.832, allocations: 7.906 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.8321, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8322, allocations: 322.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.8323, allocations: 59.91 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.8325, allocations: 96.14 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.8326, allocations: 119.3 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8326, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004111/0.833, allocations: 256.8 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.8331, allocations: 63.41 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.8331, allocations: 4.125 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8331, allocations: 7.984 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.8332, allocations: 7.938 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8332, allocations: 480 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.8336, allocations: 83.78 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.8336, allocations: 11.98 kB / 1.027 GB, free: 10.95 MB / 0.7794 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.8337, allocations: 125.8 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.8337, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.8338, allocations: 16.3 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8338, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8338, allocations: 8 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8338, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.8339, allocations: 177.5 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.834, allocations: 3.953 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.834, allocations: 4 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.834, allocations: 7.922 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.834, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.834, allocations: 4.312 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.834, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.8342, allocations: 109.1 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.8342, allocations: 88.97 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.8343, allocations: 3.938 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.8343, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.8343, allocations: 7.984 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.8344, allocations: 7.984 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.8344, allocations: 91.27 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8344, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002638/0.8347, allocations: 28 kB / 1.028 GB, free: 10.18 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.8349, allocations: 111.2 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.8352, allocations: 246.7 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8352, allocations: 0 / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.8353, allocations: 27.98 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.8355, allocations: 16.23 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.8359, allocations: 163.3 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.8362, allocations: 0.6848 MB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.8362, allocations: 4 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.8363, allocations: 15.42 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.8363, allocations: 4 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of Templates: time 0.005477/0.8418, allocations: 1.682 MB / 1.031 GB, free: 7.176 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches