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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001302/0.001302, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.423/1.423, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=2500,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=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 1.057 GB, free: 1.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3453, allocations: 160.7 MB / 1.214 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002084/0.3474, allocations: 0.6543 MB / 1.215 GB, free: 220 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3492, allocations: 1.191 MB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.3492, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.3492, allocations: 3.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.3493, allocations: 15.86 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.3501, allocations: 218 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.3503, allocations: 171.8 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3504, allocations: 11.98 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3505, allocations: 71.88 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3507, allocations: 59.8 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.3507, allocations: 19.94 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.3508, allocations: 35.97 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.3509, allocations: 7.938 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.351, allocations: 55.83 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3512, allocations: 147.6 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3512, allocations: 0 / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3512, allocations: 0 / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.3512, allocations: 3.984 kB / 1.217 GB, free: 14.2 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.0006918/0.3519, allocations: 438.6 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.352, allocations: 8.031 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.352, allocations: 16.89 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.3522, allocations: 176.4 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3523, allocations: 4.375 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.3523, allocations: 8.375 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3524, allocations: 54.17 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3524, allocations: 192 / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3524, allocations: 11.92 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3525, allocations: 0 / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.3525, allocations: 12 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.3531, allocations: 352.7 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.3532, allocations: 42.44 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.3532, allocations: 12.86 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3532, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.3534, allocations: 79.45 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3534, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002779/0.3536, allocations: 117.5 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3537, allocations: 51.41 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3538, allocations: 121.7 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3538, allocations: 29.7 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.3539, allocations: 92.09 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3539, allocations: 23.88 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3541, allocations: 49.69 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3542, allocations: 314.8 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3543, allocations: 67.95 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3545, allocations: 92.27 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3547, allocations: 163.5 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3547, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004527/0.3552, allocations: 260.9 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.3553, allocations: 67.39 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.3553, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3553, allocations: 0 / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.431e-05/0.3553, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3553, allocations: 0 / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.3557, allocations: 56.02 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.3558, allocations: 15.98 kB / 1.219 GB, free: 11.21 MB / 0.9669 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.0001418/0.3559, allocations: 128.7 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.3559, allocations: 7.953 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.3559, allocations: 4.375 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3559, allocations: 7.984 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.356, allocations: 4 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.356, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3561, allocations: 182 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3561, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.3562, allocations: 4.062 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3562, allocations: 3.938 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3562, allocations: 7.984 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3562, allocations: 3.938 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3562, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3563, allocations: 121 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3564, allocations: 77.11 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3564, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.3564, allocations: 4 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.3565, allocations: 11.92 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.3565, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.3566, allocations: 91.27 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3566, allocations: 0 / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002448/0.3568, allocations: 28 kB / 1.22 GB, free: 10.43 MB / 0.9669 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.000187/0.357, allocations: 107.2 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.3574, allocations: 218.6 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3574, allocations: 0 / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.772e-05/0.3575, allocations: 23.98 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3577, allocations: 17.86 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.3582, allocations: 197 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3585, allocations: 0.6885 MB / 1.221 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.3585, allocations: 11.44 kB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3585, allocations: 0 / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.003599/0.3621, allocations: 1.392 MB / 1.223 GB, free: 7.707 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.299161755014211]