Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8296, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001943/0.8316, allocations: 0.6527 MB / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.8332, allocations: 1.198 MB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.8332, allocations: 0 / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.8332, allocations: 3.938 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.8333, allocations: 15.88 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.834, allocations: 221.2 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.8343, allocations: 175.7 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.8344, allocations: 8 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.8345, allocations: 67.94 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.8346, allocations: 59.8 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.8347, allocations: 12 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.8348, allocations: 35.92 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.8348, allocations: 11.97 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.8349, allocations: 55.84 kB / 1.277 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.8351, allocations: 154.2 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8351, allocations: 0 / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8351, allocations: 0 / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.8351, allocations: 0 / 1.277 GB, free: 1.914 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.0006263/0.8358, allocations: 434.7 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8358, allocations: 15.95 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.8359, allocations: 16.83 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.836, allocations: 168.4 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.836, allocations: 4.375 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.8361, allocations: 12.38 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.8362, allocations: 54.17 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8362, allocations: 192 / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.8362, allocations: 3.938 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8362, allocations: 4 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.8363, allocations: 12 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.8369, allocations: 348.7 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.8369, allocations: 46.44 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.837, allocations: 8.859 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.837, allocations: 4 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.8371, allocations: 84.98 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.8371, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002684/0.8374, allocations: 109.5 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.8375, allocations: 55.41 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.8376, allocations: 117.8 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.8376, allocations: 29.7 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.8377, allocations: 96.08 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.8377, allocations: 19.89 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.8378, allocations: 49.69 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.838, allocations: 318.8 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8382, allocations: 59.97 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.8383, allocations: 100.2 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.8385, allocations: 160 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8386, allocations: 4 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005049/0.8391, allocations: 264.9 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.8391, allocations: 67.39 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8391, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.58e-05/0.8392, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.198e-05/0.8392, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8392, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.8396, allocations: 59.95 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.8396, allocations: 19.92 kB / 1.279 GB, free: 14.91 MB / 0.9825 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.0001272/0.8398, allocations: 122.3 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.8398, allocations: 11.94 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.8399, allocations: 8.312 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.84, allocations: 7.984 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.84, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.84, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.8402, allocations: 181.7 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8402, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.8402, allocations: 3.984 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8403, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8403, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.8403, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8403, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.8404, allocations: 113 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.8405, allocations: 81.11 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.8405, allocations: 4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.8405, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.8406, allocations: 15.92 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.8406, allocations: 4 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.8407, allocations: 95.2 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8407, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002474/0.8409, allocations: 28 kB / 1.28 GB, free: 14.14 MB / 0.9825 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.0001792/0.8411, allocations: 107.2 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.8415, allocations: 222.6 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8415, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.8415, allocations: 16 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.8417, allocations: 15.98 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.8421, allocations: 178.5 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.8425, allocations: 0.6887 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.8425, allocations: 8 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.8425, allocations: 7.438 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8425, allocations: 0 / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.005215/0.8477, allocations: 1.854 MB / 1.283 GB, free: 11 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.612393010873348]