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.001339/0.001339, allocations: 93.06 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.001605/0.001605, allocations: 165 kB / 23.01 MB, free: 1.551 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.9804/0.9804, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.181/2.181, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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.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.074e-06/2.074e-06, allocations: 0 / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.279e-05, allocations: 9.203 kB / 0.8783 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001537/0.00157, allocations: 0.8242 MB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000932/0.002502, allocations: 0.9315 MB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.002585, allocations: 3.938 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.002713, allocations: 17.78 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.002749, allocations: 10.08 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.002948, allocations: 33.31 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003053, allocations: 75.72 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003161, allocations: 27.91 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.003296, allocations: 47.84 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.003359, allocations: 24.44 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.003377, allocations: 4.812 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.003418, allocations: 8 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.003436, allocations: 21.02 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.003461, allocations: 15.97 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.00358, allocations: 51.77 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003582, allocations: 4.656 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003583, allocations: 0 / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003587, allocations: 5.094 kB / 0.8803 GB, free: 4.137 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000402/0.003989, allocations: 404.3 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.004025, allocations: 9.062 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.004146, allocations: 24.88 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.00431, allocations: 145.5 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004321, allocations: 5.5 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004335, allocations: 4.375 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.004451, allocations: 66.92 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.004461, allocations: 1.219 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.004472, allocations: 4.375 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.00448, allocations: 384 / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.004521, allocations: 20.95 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.004879, allocations: 307.6 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.004968, allocations: 46.45 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.004991, allocations: 15.69 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005007, allocations: 0 / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005029, allocations: 37.39 kB / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00503, allocations: 0 / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001538/0.005184, allocations: 49.73 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005211, allocations: 59.34 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.005306, allocations: 192.2 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.00532, allocations: 26.86 kB / 0.8817 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.005377, allocations: 142.8 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.005393, allocations: 11.95 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.005425, allocations: 24.92 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.005539, allocations: 496.1 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.00556, allocations: 7.984 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.005574, allocations: 4 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.005606, allocations: 16.78 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005608, allocations: 4 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.925e-05/0.005677, allocations: 57.52 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005691, allocations: 9.438 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005695, allocations: 0 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.005712, allocations: 0 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.005765, allocations: 7.984 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.00577, allocations: 7.938 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.005798, allocations: 4 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005803, allocations: 0 / 0.8824 GB, free: 1.773 MB / 0.8386 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.989e-05/0.005873, allocations: 164.6 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.005891, allocations: 7.891 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.005916, allocations: 12.34 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005917, allocations: 0 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.00592, allocations: 0 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005922, allocations: 0 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.006024, allocations: 132.6 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006026, allocations: 4.328 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.006043, allocations: 4 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.006046, allocations: 3.938 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.006053, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006054, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006055, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.006165, allocations: 207.8 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006177, allocations: 11.89 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.006194, allocations: 0 / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.006233, allocations: 4 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.006278, allocations: 23.97 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.006282, allocations: 0 / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.00633, allocations: 141.5 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00633, allocations: 0 / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001465/0.006477, allocations: 11.94 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 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.0001012/0.006578, allocations: 99.25 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.006663, allocations: 23.61 kB / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006664, allocations: 0 / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.006687, allocations: 19.67 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.006881, allocations: 12 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.007363, allocations: 174 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.007399, allocations: 59.34 kB / 0.8835 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.007425, allocations: 4 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.007459, allocations: 16.48 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.00746, allocations: 7.938 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of Templates: time 0.002548/0.01001, allocations: 0.9177 MB / 0.8844 GB, free: 15.62 MB / 0.8542 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.765491664875299]