Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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.001492/0.001492, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001343/0.001343, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9515/0.9515, allocations: 177.1 MB / 204.2 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.908/1.908, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.389e-06/4.389e-06, allocations: 0 / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.678e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002279/0.002316, allocations: 0.8594 MB / 0.8125 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.003701, allocations: 0.9536 MB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.003836, allocations: 4 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.00401, allocations: 11.88 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.004067, allocations: 17.03 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.00434, allocations: 39.88 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.004507, allocations: 100.4 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.004643, allocations: 32.88 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.004861, allocations: 67.75 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.004936, allocations: 32.61 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.00496, allocations: 11.94 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.005008, allocations: 9.344 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.005028, allocations: 15.98 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.005066, allocations: 19.94 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.00525, allocations: 71.66 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.005255, allocations: 4.875 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005256, allocations: 3.938 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.005262, allocations: 1 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000548/0.00581, allocations: 421.9 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.005854, allocations: 8.031 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.006026, allocations: 28.83 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.006242, allocations: 146 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.006254, allocations: 4.375 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.006268, allocations: 4.375 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.006459, allocations: 89.91 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.006468, allocations: 192 / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.006481, allocations: 4.375 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.00649, allocations: 4.312 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.006556, allocations: 23.92 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.007024, allocations: 336.6 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.00716, allocations: 48.17 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.007194, allocations: 15.77 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.007209, allocations: 0 / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.007234, allocations: 42.2 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.007236, allocations: 0 / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002135/0.007449, allocations: 63.73 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.007483, allocations: 51.41 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.007598, allocations: 190.6 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.007618, allocations: 25.7 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.007693, allocations: 150.8 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.007721, allocations: 19.83 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.007766, allocations: 23.91 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.007913, allocations: 0.4929 MB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.007947, allocations: 15.94 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.007973, allocations: 8.5 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.008029, allocations: 19.67 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008031, allocations: 1.594 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001073/0.008139, allocations: 57.59 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.008155, allocations: 8 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.00816, allocations: 0 / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.008174, allocations: 4.609 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.008253, allocations: 4.906 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.008259, allocations: 0 / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.008304, allocations: 12.67 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.008312, allocations: 0 / 0.816 GB, free: 12.93 MB / 0.7761 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 (5): * Single equations (assignments): 5 * 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 8.42e-05/0.008396, allocations: 165.3 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.008428, allocations: 13.33 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.008453, allocations: 8.344 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008457, allocations: 7.984 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008461, allocations: 0 / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.008463, allocations: 0.8125 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.008609, allocations: 136.5 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008611, allocations: 0.9375 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.008652, allocations: 11.94 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008655, allocations: 1.219 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.008665, allocations: 4 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008666, allocations: 0 / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.00867, allocations: 4.953 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.008818, allocations: 203.8 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.008829, allocations: 3.953 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.008855, allocations: 6.547 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.008933, allocations: 7.984 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.008988, allocations: 11.98 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.008995, allocations: 3.984 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.009059, allocations: 146.1 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009059, allocations: 0 / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002388/0.009298, allocations: 19.31 kB / 0.8168 GB, free: 12.14 MB / 0.7761 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 (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 Backend phase and start with SimCode phase: time 0.0001186/0.009416, allocations: 99.19 kB / 0.8169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.009534, allocations: 27.67 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009536, allocations: 3.938 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.009576, allocations: 23.69 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.009784, allocations: 24.77 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.01033, allocations: 191.4 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.01038, allocations: 63.91 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.01041, allocations: 5.031 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.01045, allocations: 13.59 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 9.81e-07/0.01045, allocations: 0 / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.003075/0.01352, allocations: 1.18 MB / 0.8184 GB, free: 10.49 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.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.319822788238525]