Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009848/0.009848, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 201 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.204/3.204, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001991/0.347, allocations: 0.7139 MB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.348, allocations: 0.8312 MB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.3481, allocations: 4 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.3482, allocations: 3.938 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.3482, allocations: 3.938 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.3484, allocations: 19.98 kB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.3485, allocations: 51.84 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3486, allocations: 11.98 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.3487, allocations: 15.98 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.3488, allocations: 35.84 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3488, allocations: 4 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.3488, allocations: 4 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3489, allocations: 7.984 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.3489, allocations: 23.86 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.349, allocations: 43.8 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.349, allocations: 0 / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.349, allocations: 4 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3491, allocations: 0 / 1.227 GB, free: 7.41 MB / 0.9825 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.0006076/0.3497, allocations: 363.3 kB / 1.228 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3497, allocations: 12.03 kB / 1.228 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.3498, allocations: 4.891 kB / 1.228 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3499, allocations: 164.4 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3499, allocations: 384 / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.35, allocations: 4.375 kB / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3502, allocations: 77.56 kB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3502, allocations: 0 / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3502, allocations: 4 kB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3502, allocations: 4 kB / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.3504, allocations: 55.83 kB / 1.228 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3509, allocations: 284.8 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3511, allocations: 62.53 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3512, allocations: 32.92 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.3512, allocations: 3.938 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3513, allocations: 34.55 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3513, allocations: 0 / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004004/0.3517, allocations: 105.6 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3517, allocations: 55.41 kB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.3518, allocations: 113.8 kB / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3518, allocations: 29.7 kB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.3519, allocations: 88.03 kB / 1.229 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3519, allocations: 11.95 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.352, allocations: 17.7 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3521, allocations: 318.8 kB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/0.3522, allocations: 27.97 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.282e-05/0.3523, allocations: 23.92 kB / 1.229 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3525, allocations: 57.08 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3525, allocations: 0 / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002156/0.3527, allocations: 89.59 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3527, allocations: 4 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3527, allocations: 4.312 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3527, allocations: 0 / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.3529, allocations: 11.98 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3529, allocations: 0 / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.353, allocations: 11.98 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.353, allocations: 11.92 kB / 1.229 GB, free: 5.141 MB / 0.9825 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 (reaToInt.y,intGreEquThr.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 7.713e-05/0.3531, allocations: 114.3 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3531, allocations: 4 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3532, allocations: 15.89 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3532, allocations: 0 / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3532, allocations: 0 / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3532, allocations: 0 / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3534, allocations: 185.5 kB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3534, allocations: 3.984 kB / 1.23 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.3535, allocations: 11.98 kB / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3535, allocations: 0 / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3535, allocations: 0 / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3535, allocations: 0 / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3535, allocations: 4 kB / 1.23 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3538, allocations: 187.4 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3538, allocations: 81.06 kB / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3539, allocations: 0 / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.354, allocations: 11.98 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.354, allocations: 7.984 kB / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.354, allocations: 8 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.3541, allocations: 83.28 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3541, allocations: 0 / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002174/0.3543, allocations: 19.88 kB / 1.23 GB, free: 4.312 MB / 0.9825 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.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001318/0.3545, allocations: 99.23 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3547, allocations: 51.95 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3547, allocations: 0 / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3548, allocations: 43.91 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3552, allocations: 3.938 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3555, allocations: 137.3 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3559, allocations: 0.6807 MB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.3559, allocations: 8 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.356, allocations: 15.42 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.356, allocations: 4 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of Templates: time 0.003592/0.3596, allocations: 0.8983 MB / 1.232 GB, free: 2.328 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches