Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009602/0.0009602, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001049/0.001049, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9851/0.9851, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.376/2.376, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.478e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001089/0.001103, allocations: 0.6633 MB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002222, allocations: 1.236 MB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.002252, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.002275, allocations: 3.938 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.002335, allocations: 23.78 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.002723, allocations: 215.4 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.002877, allocations: 167.7 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.00294, allocations: 8 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.003039, allocations: 95.86 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.003128, allocations: 51.89 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.00315, allocations: 20 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.003203, allocations: 28 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.003221, allocations: 7.922 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.003272, allocations: 51.95 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.003408, allocations: 131.6 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.00341, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003411, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003415, allocations: 4 kB / 0.8412 GB, free: 11.5 MB / 0.8073 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.0002817/0.003696, allocations: 332.1 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.569e-05/0.003722, allocations: 8.625 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.00375, allocations: 12.92 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.819e-05/0.003818, allocations: 121.7 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.003828, allocations: 4.375 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.00385, allocations: 20.3 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.164e-05/0.003902, allocations: 38.25 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.003907, allocations: 192 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003913, allocations: 4.375 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.003916, allocations: 384 / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.439e-05/0.003931, allocations: 15.91 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.004145, allocations: 176.2 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.004194, allocations: 30.5 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.004207, allocations: 12.86 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.004212, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.004279, allocations: 75.52 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.00428, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001004/0.00438, allocations: 81.52 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.004408, allocations: 59.39 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.004465, allocations: 122.6 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.004484, allocations: 29.7 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.004519, allocations: 88.12 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.004532, allocations: 23.88 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.004584, allocations: 45.67 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.00466, allocations: 318.8 kB / 0.8428 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.004726, allocations: 95.38 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.004801, allocations: 128 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/0.004898, allocations: 151.5 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004899, allocations: 0 / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.005071, allocations: 260.3 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.005104, allocations: 67.39 kB / 0.8434 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005108, allocations: 3.938 kB / 0.8434 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.005119, allocations: 8.047 kB / 0.8435 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.139e-05/0.00513, allocations: 4 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.005134, allocations: 4 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.005265, allocations: 35.92 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.005283, allocations: 16.11 kB / 0.8435 GB, free: 8.883 MB / 0.8073 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 6.367e-05/0.005347, allocations: 125.7 kB / 0.8436 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.005356, allocations: 11.98 kB / 0.8436 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.005374, allocations: 8.375 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.005375, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.005376, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005379, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.194e-05/0.005441, allocations: 81.88 kB / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005441, allocations: 0 / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-06/0.005444, allocations: 0 / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005445, allocations: 0 / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.00545, allocations: 8 kB / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.005452, allocations: 3.984 kB / 0.8437 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.005453, allocations: 3.938 kB / 0.8437 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.153e-05/0.005515, allocations: 85.03 kB / 0.8438 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.005521, allocations: 3.953 kB / 0.8438 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.005529, allocations: 4 kB / 0.8438 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.005539, allocations: 4 kB / 0.8438 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.00556, allocations: 7.922 kB / 0.8438 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005563, allocations: 4 kB / 0.8438 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.366e-05/0.005577, allocations: 16.84 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005577, allocations: 4 kB / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000126/0.005703, allocations: 28 kB / 0.8439 GB, free: 8.445 MB / 0.8073 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 7.95e-05/0.005783, allocations: 76.42 kB / 0.844 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.005953, allocations: 262.9 kB / 0.8442 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005955, allocations: 0 / 0.8442 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.005977, allocations: 28.72 kB / 0.8442 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.871e-05/0.006066, allocations: 20.23 kB / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.006258, allocations: 148.7 kB / 0.8444 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.786e-05/0.006286, allocations: 59.36 kB / 0.8445 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.006303, allocations: 7.984 kB / 0.8445 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.006392, allocations: 79.28 kB / 0.8445 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of SimCode: time 2.8e-07/0.006392, allocations: 0 / 0.8445 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of Templates: time 0.003078/0.00947, allocations: 2.237 MB / 0.8467 GB, free: 5.48 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.273183763958514]