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.00155/0.00155, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001318/0.001318, allocations: 173 kB / 23.02 MB, free: 1.547 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.943/0.943, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.198/2.198, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 4.659e-06/4.659e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.669e-05/5.135e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00166/0.001712, allocations: 0.6751 MB / 0.8788 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003066, allocations: 1.232 MB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.003123, allocations: 4 kB / 0.8801 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.003153, allocations: 6.5 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.003231, allocations: 17 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.003776, allocations: 209.5 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.004012, allocations: 171.7 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.00411, allocations: 8.828 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.004217, allocations: 91.88 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.004322, allocations: 51.84 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.004351, allocations: 17.59 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.004424, allocations: 27.98 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.004448, allocations: 11.98 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.004512, allocations: 51.89 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.004715, allocations: 133.2 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.004718, allocations: 0 / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004719, allocations: 0 / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.004724, allocations: 0 / 0.8808 GB, free: 3.633 MB / 0.8386 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.0005168/0.005241, allocations: 470.9 kB / 0.8813 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005279, allocations: 8.031 kB / 0.8813 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.00534, allocations: 8.938 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.476e-05/0.005424, allocations: 124.5 kB / 0.8814 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.005438, allocations: 4.375 kB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.005459, allocations: 12.36 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.573e-05/0.005544, allocations: 42.25 kB / 0.8815 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.005552, allocations: 192 / 0.8815 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.005563, allocations: 8.969 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.005571, allocations: 384 / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.005594, allocations: 13.27 kB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.005976, allocations: 331.7 kB / 0.8818 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.006069, allocations: 35.06 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.006092, allocations: 19.77 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.006101, allocations: 0 / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.006217, allocations: 88.89 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.006218, allocations: 0 / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002004/0.006418, allocations: 93.62 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.006453, allocations: 51.41 kB / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.006541, allocations: 181.8 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.006562, allocations: 33.7 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.00662, allocations: 130.9 kB / 0.8824 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.006637, allocations: 27.81 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.006697, allocations: 59.34 kB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.006825, allocations: 496.1 kB / 0.883 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.006941, allocations: 115.3 kB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.007062, allocations: 161.8 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.007188, allocations: 161.8 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.007191, allocations: 4 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002872/0.007478, allocations: 320.2 kB / 0.8837 GB, free: 384 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.007518, allocations: 71.39 kB / 0.8838 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.007523, allocations: 0 / 0.8838 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.007537, allocations: 0 / 0.8838 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-05/0.007555, allocations: 11.92 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.00756, allocations: 0 / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.007745, allocations: 39.92 kB / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.007779, allocations: 15.98 kB / 0.8838 GB, free: 232 kB / 0.8386 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.0001473/0.007926, allocations: 168.7 kB / 0.884 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.007944, allocations: 7.938 kB / 0.884 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.007978, allocations: 20.41 kB / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00798, allocations: 0 / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.007985, allocations: 0 / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.007988, allocations: 0 / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.008087, allocations: 124.6 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.008089, allocations: 7.938 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.008097, allocations: 0 / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.0081, allocations: 0 / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.008112, allocations: 19.86 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.008115, allocations: 4 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008116, allocations: 0 / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008237, allocations: 112.4 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.008244, allocations: 3.953 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008258, allocations: 7.938 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.555e-05/0.008273, allocations: 4 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.008311, allocations: 7.984 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008316, allocations: 0 / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.00836, allocations: 135.2 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00836, allocations: 0 / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001572/0.008517, allocations: 35.94 kB / 0.8844 GB, free: 15.51 MB / 0.8542 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.0001473/0.008664, allocations: 109.9 kB / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.00894, allocations: 269.8 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008941, allocations: 0 / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.008976, allocations: 27.67 kB / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.009152, allocations: 16.97 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.009424, allocations: 162.7 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.009461, allocations: 59.34 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.009487, allocations: 7.859 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.009513, allocations: 12.5 kB / 0.8851 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.009514, allocations: 0 / 0.8851 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.003963/0.01348, allocations: 2.251 MB / 0.8873 GB, free: 12.57 MB / 0.8542 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.889547144062817]