Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001036/0.001036, allocations: 107 kB / 16.41 MB, free: 6.492 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.0009302/0.0009303, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7088, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001778/0.7106, allocations: 0.7036 MB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.7116, allocations: 0.8453 MB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.7117, allocations: 4 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.7117, allocations: 7.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.7118, allocations: 3.938 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.7119, allocations: 19.97 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.712, allocations: 43.91 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.7122, allocations: 15.98 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.7122, allocations: 23.91 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.7123, allocations: 31.8 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.7123, allocations: 8 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.7123, allocations: 4 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.7124, allocations: 7.984 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.7124, allocations: 15.88 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.7125, allocations: 51.78 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7125, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7125, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.7125, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 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.0005175/0.7131, allocations: 359.8 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7131, allocations: 16.62 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.7132, allocations: 4.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.7133, allocations: 172.3 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.7133, allocations: 384 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.7134, allocations: 4.375 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.7136, allocations: 69.53 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.7136, allocations: 0 / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.7136, allocations: 4 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.7136, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.7138, allocations: 55.95 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.7142, allocations: 292.8 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.7145, allocations: 66.47 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.7146, allocations: 36.91 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.7146, allocations: 0 / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.7146, allocations: 30.56 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.7146, allocations: 3.938 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004098/0.715, allocations: 105.6 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.7151, allocations: 55.34 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.7152, allocations: 113.8 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.7152, allocations: 29.7 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.7152, allocations: 92.03 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.7153, allocations: 3.953 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.7153, allocations: 25.7 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7154, allocations: 318.8 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.7155, allocations: 23.97 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.7156, allocations: 27.97 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.7158, allocations: 44.83 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7158, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002402/0.7161, allocations: 89.53 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7161, allocations: 8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7161, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7161, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.7163, allocations: 11.98 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.7163, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.7163, allocations: 7.984 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.7164, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 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.394e-05/0.7164, allocations: 121.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.7165, allocations: 7.984 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.7165, allocations: 3.906 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7165, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7165, allocations: 4 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7165, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.7167, allocations: 181.6 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7167, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.7168, allocations: 11.98 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7168, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.7168, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.7168, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7168, allocations: 3.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.7171, allocations: 195.6 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.7172, allocations: 81.11 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.7172, allocations: 0 / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.7173, allocations: 7.984 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.7174, allocations: 11.98 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.7174, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.7174, allocations: 95.34 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7174, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002146/0.7177, allocations: 15.89 kB / 1.172 GB, free: 14.95 MB / 0.9044 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.0001103/0.7178, allocations: 99.25 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.718, allocations: 55.89 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.718, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.7181, allocations: 31.97 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.7184, allocations: 16.48 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.7188, allocations: 159.1 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.719, allocations: 0.6768 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.719, allocations: 15.42 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.7191, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.001989/0.721, allocations: 0.8167 MB / 1.174 GB, free: 13.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches