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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00094/0.00094, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001329/0.001329, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 12 kB / 0.8722 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7782, allocations: 153.8 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00104/0.7793, allocations: 429.4 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.7804, allocations: 0.8234 MB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.7804, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.7805, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.7806, allocations: 3.938 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.7807, allocations: 19.98 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.7808, allocations: 39.91 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.781, allocations: 15.97 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.781, allocations: 11.94 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.7811, allocations: 19.91 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.7811, allocations: 8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.7812, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.7812, allocations: 11.94 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.7812, allocations: 25.7 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.898e-05/0.7813, allocations: 35.91 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7813, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7813, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7813, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 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.0004783/0.7818, allocations: 353.3 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7818, allocations: 12.56 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.7819, allocations: 3.906 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.782, allocations: 171 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.782, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.7821, allocations: 8 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.7823, allocations: 73.61 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.7823, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.7823, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7823, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.7825, allocations: 59.94 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.783, allocations: 300.7 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.7832, allocations: 66.53 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.7833, allocations: 44.92 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.7833, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.7834, allocations: 30.56 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.7834, allocations: 3.938 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004086/0.7838, allocations: 129.5 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.7838, allocations: 51.41 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.7839, allocations: 113.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.7839, allocations: 25.7 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.784, allocations: 92.05 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.784, allocations: 7.844 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.784, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7842, allocations: 322.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.7843, allocations: 27.98 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.7844, allocations: 27.97 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.7844, allocations: 32.22 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7845, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002243/0.7847, allocations: 105.5 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7847, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7847, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7847, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.7849, allocations: 19.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.7849, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.785, allocations: 11.98 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.785, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 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.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.7851, allocations: 113.8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7851, allocations: 8 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.7851, allocations: 3.906 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.7851, allocations: 4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7851, allocations: 3.984 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7852, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.7853, allocations: 165.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7853, allocations: 3.953 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.7854, allocations: 19.98 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7854, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.7855, allocations: 7.984 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7855, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7855, allocations: 7.938 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.7858, allocations: 191.3 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.7858, allocations: 85.06 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.7858, allocations: 4 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.7859, allocations: 7.984 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.786, allocations: 11.98 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.786, allocations: 4 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.7861, allocations: 83.28 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7861, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002167/0.7863, allocations: 8 kB / 1.027 GB, free: 11.45 MB / 0.7794 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 (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.0001307/0.7864, allocations: 107.2 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.7867, allocations: 63.89 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7867, allocations: 3.938 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7868, allocations: 43.97 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.7871, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.7875, allocations: 136.6 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.7877, allocations: 0.6848 MB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.7878, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.7878, allocations: 15.42 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7878, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003051/0.7909, allocations: 0.7474 MB / 1.028 GB, free: 9.582 MB / 0.7794 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/jenkins/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