Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.179/2.179, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.00103/0.00103, allocations: 188.4 kB / 487.4 MB, free: 5.059 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.501/1.501, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 99.53 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.76e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3477, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.39, allocations: 148.3 MB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.391, allocations: 72.44 kB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003575/1.394, allocations: 0.9382 MB / 1.352 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/1.394, allocations: 0 / 1.352 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.394, allocations: 1.281 kB / 1.352 GB, free: 34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003906/1.395, allocations: 352.7 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.395, allocations: 9.094 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/1.395, allocations: 7.297 kB / 1.352 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/1.395, allocations: 166.3 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/1.395, allocations: 1.344 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.395, allocations: 2.531 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.828e-05/1.395, allocations: 22.5 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/1.395, allocations: 58.92 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.395, allocations: 0 / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.395, allocations: 1.422 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.395, allocations: 1.344 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/1.396, allocations: 265.2 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/1.396, allocations: 50.89 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/1.396, allocations: 16.11 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/1.396, allocations: 5.828 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.396, allocations: 30.56 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.396, allocations: 1.312 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001998/1.396, allocations: 56.64 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/1.396, allocations: 56.56 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/1.396, allocations: 97.56 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/1.396, allocations: 34.98 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/1.396, allocations: 86.7 kB / 1.353 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.396, allocations: 9.906 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/1.396, allocations: 0 / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.397, allocations: 318.6 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/1.397, allocations: 9.578 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/1.397, allocations: 12.94 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/1.397, allocations: 10.58 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.397, allocations: 0 / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.887e-05/1.397, allocations: 63.84 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.397, allocations: 3.969 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.397, allocations: 1.312 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.397, allocations: 0.5156 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/1.397, allocations: 14.53 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.397, allocations: 0 / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/1.397, allocations: 16.73 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/1.397, allocations: 1.938 kB / 1.354 GB, free: 32.41 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: 2 (intGreEquThr.u,intGreEquThr.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.872e-05/1.397, allocations: 115.8 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/1.397, allocations: 1.25 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/1.397, allocations: 10.39 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.397, allocations: 1.969 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.397, allocations: 3.984 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.397, allocations: 0.7969 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.397, allocations: 152.5 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.397, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/1.398, allocations: 18.81 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.398, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.398, allocations: 1.828 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.398, allocations: 0.5156 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.398, allocations: 11.12 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/1.398, allocations: 156.5 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/1.398, allocations: 83.7 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.398, allocations: 0 / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.398, allocations: 15.08 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/1.398, allocations: 11.72 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/1.398, allocations: 1.969 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.832e-05/1.398, allocations: 84.83 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.398, allocations: 0 / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002174/1.398, allocations: 12.47 kB / 1.354 GB, free: 31.79 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 (intGreEquThr.u,intGreEquThr.y) * Number of discrete 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 (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.0001414/1.398, allocations: 101.7 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001114/1.399, allocations: 39.48 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.399, allocations: 0 / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/1.399, allocations: 17.42 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/1.399, allocations: 4.547 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/1.399, allocations: 72.66 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/1.399, allocations: 0.6827 MB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.13e-05/1.399, allocations: 8.844 kB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/1.399, allocations: 12.81 kB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.399, allocations: 0 / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.002713/1.402, allocations: 0.707 MB / 1.356 GB, free: 30.86 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches