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.001368/0.001368, allocations: 80.88 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.001059/0.001059, allocations: 181 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.9849/0.9849, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.577/2.577, 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.874e-06/1.874e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.311e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002212/0.002235, allocations: 0.7034 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.003868, allocations: 1.244 MB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.003918, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.00395, allocations: 3.938 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.009e-05/0.00404, allocations: 19.86 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.004691, allocations: 211.4 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.004922, allocations: 171.7 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.004999, allocations: 11.98 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.005144, allocations: 91.92 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.005276, allocations: 51.84 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.005316, allocations: 20 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.005409, allocations: 28 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.005429, allocations: 7.984 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.005497, allocations: 51.89 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005697, allocations: 135.6 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.005699, allocations: 4 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.0057, allocations: 0 / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.005704, allocations: 0 / 0.8413 GB, free: 11.4 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.0004183/0.006122, allocations: 328.1 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006159, allocations: 8.625 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.006204, allocations: 12.92 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.006295, allocations: 121.7 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.006311, allocations: 12.38 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.006334, allocations: 8.375 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.006407, allocations: 46.17 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.006414, allocations: 192 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006423, allocations: 4.375 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.006428, allocations: 384 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.006447, allocations: 7.938 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.006748, allocations: 180.2 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.006806, allocations: 30.5 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.006824, allocations: 12.94 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.006831, allocations: 4 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.006932, allocations: 71.42 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.006934, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000155/0.007089, allocations: 81.52 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.007121, allocations: 55.41 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.007197, allocations: 118.6 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.007223, allocations: 33.7 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.007269, allocations: 92.11 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.007287, allocations: 15.89 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.00763, allocations: 49.67 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.007722, allocations: 318.8 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.007822, allocations: 95.38 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.00793, allocations: 123.7 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.008067, allocations: 151.9 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008069, allocations: 0 / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002655/0.008335, allocations: 264.3 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.008382, allocations: 71.33 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.008391, allocations: 7.938 kB / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.008406, allocations: 4 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.008425, allocations: 0 / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00843, allocations: 4 kB / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.008624, allocations: 39.91 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.008651, allocations: 11.98 kB / 0.8436 GB, free: 8.789 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 8.342e-05/0.008734, allocations: 133.8 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.008747, allocations: 4 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.00877, allocations: 12.38 kB / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.008774, allocations: 4 kB / 0.8437 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008776, allocations: 0 / 0.8437 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.008781, allocations: 3.984 kB / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.972e-05/0.008861, allocations: 69.89 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008862, allocations: 0 / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.008872, allocations: 7.984 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.008874, allocations: 0 / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.008881, allocations: 8 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008882, allocations: 0 / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.008885, allocations: 3.938 kB / 0.8438 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/0.00898, allocations: 85.03 kB / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.00899, allocations: 7.953 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.009001, allocations: 0 / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.009017, allocations: 0 / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.009049, allocations: 15.92 kB / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.009054, allocations: 0 / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.009074, allocations: 16.84 kB / 0.844 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.009074, allocations: 0 / 0.844 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002181/0.009292, allocations: 36 kB / 0.844 GB, free: 8.344 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 0.0001119/0.009404, allocations: 80.41 kB / 0.8441 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.009649, allocations: 254.9 kB / 0.8443 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.009655, allocations: 8 kB / 0.8443 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.009685, allocations: 20.8 kB / 0.8443 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.009825, allocations: 13.95 kB / 0.8443 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.01009, allocations: 153.2 kB / 0.8445 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.01013, allocations: 59.34 kB / 0.8445 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.01015, allocations: 4 kB / 0.8446 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01028, allocations: 83.28 kB / 0.8446 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.01028, allocations: 0 / 0.8446 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of Templates: time 0.00425/0.01453, allocations: 2.238 MB / 0.8468 GB, free: 5.383 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 -s gbode -gbm=radauIIA3 -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.589150989893824]