Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002459/0.002459, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002432/0.002432, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.077/3.077, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.225e-05/4.506e-05, allocations: 8.234 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00269/0.002735, allocations: 0.6582 MB / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.005362, allocations: 1.215 MB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.005417, allocations: 0 / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.005453, allocations: 3.938 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.00557, allocations: 13.7 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.006486, allocations: 212.8 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.006859, allocations: 163.7 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.00697, allocations: 15.97 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.007201, allocations: 93.47 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.007389, allocations: 51.91 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.007447, allocations: 12 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007568, allocations: 31.94 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.007598, allocations: 10.28 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.007733, allocations: 47.97 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.00813, allocations: 187.5 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.008136, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/0.008138, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.008143, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 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.0008785/0.009021, allocations: 464.3 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.009068, allocations: 8.031 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.009171, allocations: 17.42 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.009344, allocations: 122.1 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.009377, allocations: 12.38 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.009423, allocations: 8.375 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.009583, allocations: 46.23 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.009601, allocations: 4.188 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.009613, allocations: 1.031 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.009619, allocations: 384 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.00969, allocations: 21.23 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/0.01043, allocations: 343.6 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.01056, allocations: 35.06 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.01061, allocations: 16.94 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.01063, allocations: 3.984 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.01085, allocations: 94.28 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.01085, allocations: 0 / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004177/0.01127, allocations: 109.6 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.01133, allocations: 51.41 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.0117, allocations: 191.5 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.01176, allocations: 33.7 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.0119, allocations: 138.9 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.01193, allocations: 15.83 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.01211, allocations: 60.22 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003687/0.01248, allocations: 0.4923 MB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.01282, allocations: 139.3 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.01321, allocations: 186.6 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.01359, allocations: 179.4 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01359, allocations: 4 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009218/0.01451, allocations: 363.2 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-05/0.0146, allocations: 67.39 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.01462, allocations: 4 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.01463, allocations: 0 / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.01467, allocations: 11.92 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.01468, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.01511, allocations: 42.08 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.01516, allocations: 11.98 kB / 0.8166 GB, free: 11.83 MB / 0.7761 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.0002073/0.01536, allocations: 168.6 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.0154, allocations: 12.39 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.01543, allocations: 8.969 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01543, allocations: 1.906 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.01544, allocations: 0 / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.01545, allocations: 3.984 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.01565, allocations: 132.6 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01565, allocations: 0 / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.01567, allocations: 4 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01567, allocations: 1.219 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.01569, allocations: 11.88 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01569, allocations: 3.938 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01569, allocations: 0.5312 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.01598, allocations: 135.8 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.016, allocations: 7.891 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.01603, allocations: 7.922 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.01607, allocations: 4 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.01613, allocations: 3.984 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.01614, allocations: 8 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001193/0.01626, allocations: 131.2 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01626, allocations: 0 / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004329/0.0167, allocations: 31.98 kB / 0.8173 GB, free: 11.11 MB / 0.7761 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.000216/0.01691, allocations: 105.3 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.01763, allocations: 329.8 kB / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01763, allocations: 0 / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.01772, allocations: 40.7 kB / 0.8177 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01808, allocations: 13.8 kB / 0.8177 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.0186, allocations: 170.7 kB / 0.8179 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.92e-05/0.0187, allocations: 72.42 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01873, allocations: 5.125 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01877, allocations: 12.5 kB / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01877, allocations: 0.875 kB / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.008416/0.02719, allocations: 2.06 MB / 0.82 GB, free: 8.285 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.368439281010069]