Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.0009837/0.0009837, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001047/0.001047, allocations: 177 kB / 23.36 MB, free: 1.137 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.9485/0.9485, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.374/2.374, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.235e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00181/0.001833, allocations: 0.8156 MB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003011, allocations: 0.9364 MB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.003094, allocations: 8 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.00322, allocations: 7.875 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.00326, allocations: 7.875 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.003446, allocations: 35.84 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003566, allocations: 75.72 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.00367, allocations: 27.95 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.00383, allocations: 47.83 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.003898, allocations: 23.91 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.003917, allocations: 8 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.003963, allocations: 16 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.003981, allocations: 11.92 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.004006, allocations: 23.92 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004123, allocations: 51.75 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004125, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004126, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.004129, allocations: 0 / 0.8407 GB, free: 12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003609/0.00449, allocations: 280.6 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.004524, allocations: 12.03 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.004647, allocations: 16.92 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.00482, allocations: 141.6 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.00483, allocations: 4.375 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.004843, allocations: 4.375 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.004951, allocations: 62.94 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004959, allocations: 192 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004966, allocations: 384 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004972, allocations: 384 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.687e-05/0.005009, allocations: 19.86 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.005289, allocations: 184.2 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.005376, allocations: 38.59 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.005394, allocations: 8.844 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.005407, allocations: 4 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.005431, allocations: 34.5 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.005432, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.005562, allocations: 45.78 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.005598, allocations: 55.39 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.005689, allocations: 129.3 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.005712, allocations: 33.69 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.00576, allocations: 99.98 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.005777, allocations: 7.953 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.005815, allocations: 25.62 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.005906, allocations: 314.8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.005923, allocations: 7.984 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.005937, allocations: 4 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.005971, allocations: 12.84 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.005973, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.249e-05/0.006046, allocations: 49.62 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.00606, allocations: 15.94 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006064, allocations: 0 / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.006077, allocations: 0 / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.006128, allocations: 7.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.006131, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.006169, allocations: 7.984 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006175, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.927e-05/0.006245, allocations: 109.8 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.00627, allocations: 3.938 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.006306, allocations: 16.33 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006308, allocations: 4 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006311, allocations: 4 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006314, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.006442, allocations: 81.83 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006443, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.006476, allocations: 4 kB / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006478, allocations: 0 / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006484, allocations: 0 / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.006487, allocations: 3.938 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006488, allocations: 0 / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.006599, allocations: 143.5 kB / 0.8426 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.006614, allocations: 15.92 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.006632, allocations: 0 / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.006703, allocations: 8.312 kB / 0.8426 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.006746, allocations: 15.97 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.006751, allocations: 0 / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.006786, allocations: 23.5 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006786, allocations: 0 / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002188/0.007005, allocations: 11.95 kB / 0.8427 GB, free: 9.762 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: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001054/0.00711, allocations: 80.41 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.007187, allocations: 24.84 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.00719, allocations: 0 / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.007218, allocations: 16.8 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.007411, allocations: 11.97 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.007885, allocations: 172.1 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.007927, allocations: 63.28 kB / 0.843 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.007964, allocations: 8 kB / 0.843 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.008033, allocations: 59.36 kB / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of SimCode: time 1.473e-06/0.008034, allocations: 0 / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of Templates: time 0.003367/0.0114, allocations: 0.9834 MB / 0.8441 GB, free: 8.309 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.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.127317602746189]