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.001098/0.001098, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001109/0.001109, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.9736/0.9736, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.084e-06/2.084e-06, allocations: 0 / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.016e-05, allocations: 7.016 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001612/0.001633, allocations: 0.8568 MB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002636, allocations: 0.9458 MB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.002717, allocations: 4 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.002836, allocations: 11.86 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.002874, allocations: 17.03 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.003058, allocations: 43.88 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003163, allocations: 100.4 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.00327, allocations: 32.59 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.003413, allocations: 63.77 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.003467, allocations: 32.98 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003485, allocations: 8 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.236e-05/0.003527, allocations: 12 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.003542, allocations: 12.86 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.003564, allocations: 27.91 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.003672, allocations: 76.86 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003674, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003674, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003678, allocations: 1.469 kB / 0.8143 GB, free: 15.15 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.0003695/0.004047, allocations: 424.2 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.004081, allocations: 8.031 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.004194, allocations: 22.34 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004366, allocations: 148.5 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004377, allocations: 5.656 kB / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.004388, allocations: 8.375 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.004648, allocations: 78.91 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.004654, allocations: 6.031 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004663, allocations: 4.375 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004669, allocations: 4.375 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.004702, allocations: 23.91 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.004997, allocations: 301.5 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/0.005076, allocations: 50.98 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.005095, allocations: 15.77 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.005108, allocations: 1.344 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.005125, allocations: 33.39 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.005126, allocations: 0 / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001256/0.005252, allocations: 62.17 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.005275, allocations: 51.41 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.005353, allocations: 197 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.00537, allocations: 31.67 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.005423, allocations: 142.8 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.005442, allocations: 19.81 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.005473, allocations: 27.38 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005583, allocations: 0.4961 MB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.005596, allocations: 4 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.005612, allocations: 4.531 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.005642, allocations: 24.39 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005645, allocations: 3.938 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.929e-05/0.005704, allocations: 54.94 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005715, allocations: 8 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.005719, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.005727, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.00578, allocations: 8.609 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005783, allocations: 1.125 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.005813, allocations: 11.98 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.00582, allocations: 192 / 0.8165 GB, free: 12.71 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 7.032e-05/0.00589, allocations: 169.3 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.005907, allocations: 8.672 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.005928, allocations: 8.344 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00593, allocations: 4.812 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.005931, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.005935, allocations: 8.859 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.707e-05/0.006032, allocations: 113.2 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.006032, allocations: 1.344 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.006055, allocations: 8 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006058, allocations: 3.938 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006063, allocations: 3.984 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006065, allocations: 4.969 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006065, allocations: 0 / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.006162, allocations: 194.2 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.006171, allocations: 7.891 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.006186, allocations: 8 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.00623, allocations: 7.984 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.006272, allocations: 11.98 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.006276, allocations: 3.984 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.006328, allocations: 147.9 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006328, allocations: 0 / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001461/0.006474, allocations: 15.94 kB / 0.8172 GB, free: 11.95 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 7.972e-05/0.006554, allocations: 98.02 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.006631, allocations: 31.61 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006633, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.006665, allocations: 23.66 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.006865, allocations: 20.59 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.007304, allocations: 188.5 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.007345, allocations: 59.34 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.007375, allocations: 5.875 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.007443, allocations: 82.19 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.007444, allocations: 0.6562 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002854/0.0103, allocations: 1.198 MB / 0.8188 GB, free: 10.23 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.007140243891627]