Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 176.5 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000892/0.000892, allocations: 91.91 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.336e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3084, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.336, allocations: 149.2 MB / 1.358 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.336, allocations: 83.53 kB / 1.358 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002248/1.339, allocations: 0.6316 MB / 1.359 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.339, allocations: 0 / 1.359 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.339, allocations: 0 / 1.359 GB, free: 34.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002785/1.339, allocations: 342.4 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.339, allocations: 7.25 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/1.339, allocations: 3.938 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.836e-05/1.339, allocations: 168.4 kB / 1.359 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.339, allocations: 7.359 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/1.339, allocations: 0 / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/1.339, allocations: 34.14 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/1.339, allocations: 3.984 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/1.339, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.339, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/1.339, allocations: 18.88 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/1.34, allocations: 264.5 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.362e-05/1.34, allocations: 25.27 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/1.34, allocations: 12.55 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/1.34, allocations: 4 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/1.34, allocations: 35.06 kB / 1.36 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.34, allocations: 0 / 1.36 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/1.34, allocations: 40.98 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/1.34, allocations: 51.41 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/1.34, allocations: 97.64 kB / 1.36 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/1.34, allocations: 25.7 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/1.34, allocations: 88.78 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/1.34, allocations: 7.25 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.34, allocations: 0 / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/1.34, allocations: 319.6 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/1.34, allocations: 3.344 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/1.34, allocations: 6.562 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.671e-05/1.34, allocations: 9.484 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.34, allocations: 0 / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.58e-05/1.34, allocations: 48.39 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.34, allocations: 3.375 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.34, allocations: 0.6562 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.34, allocations: 3.344 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/1.341, allocations: 10.38 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.341, allocations: 0 / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/1.341, allocations: 12.98 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/1.341, allocations: 0 / 1.36 GB, free: 33.1 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: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.341, allocations: 109.7 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/1.341, allocations: 7.688 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/1.341, allocations: 7.391 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.341, allocations: 0.6562 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.341, allocations: 1.422 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.341, allocations: 0 / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/1.341, allocations: 169.4 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.341, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/1.341, allocations: 14.48 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.341, allocations: 0.6562 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/1.341, allocations: 0 / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.341, allocations: 0 / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.341, allocations: 4.688 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.699e-05/1.341, allocations: 139.8 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/1.341, allocations: 81.8 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/1.341, allocations: 4.031 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/1.341, allocations: 10.17 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/1.341, allocations: 9.109 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/1.341, allocations: 0 / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.662e-05/1.341, allocations: 83.36 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.341, allocations: 0 / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002072/1.342, allocations: 4.5 kB / 1.361 GB, free: 32.46 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: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/1.342, allocations: 104.8 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.532e-05/1.342, allocations: 18.25 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.342, allocations: 3.688 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/1.342, allocations: 4.453 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/1.342, allocations: 12.97 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/1.342, allocations: 55.77 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/1.342, allocations: 0.6816 MB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.532e-05/1.342, allocations: 4 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/1.343, allocations: 11.38 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.343, allocations: 0 / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.002186/1.345, allocations: 410.6 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches