Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 252 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 181.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009002, allocations: 89.19 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 11.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2431, allocations: 106.3 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.4221, allocations: 131.7 MB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4224, allocations: 75.94 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002865/0.4253, allocations: 0.9656 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4253, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4254, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 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.0004517/0.4258, allocations: 359.2 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4259, allocations: 8.031 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.4259, allocations: 7.906 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.4261, allocations: 171 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4261, allocations: 8 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4261, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.4263, allocations: 69.66 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4264, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4264, allocations: 3.984 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4264, allocations: 4 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.4266, allocations: 67.94 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.4271, allocations: 292.7 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.4273, allocations: 62.55 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4273, allocations: 4 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4273, allocations: 34.59 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4273, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004258/0.4278, allocations: 125.7 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.4278, allocations: 51.41 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.4279, allocations: 101 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4279, allocations: 29.7 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.428, allocations: 96.03 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.428, allocations: 11.84 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.428, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4282, allocations: 318.8 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.4283, allocations: 31.91 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.4284, allocations: 35.97 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.4285, allocations: 27.98 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4285, allocations: 0 / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002393/0.4287, allocations: 101.5 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4288, allocations: 4 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4288, allocations: 0 / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4288, allocations: 0 / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4289, allocations: 15.98 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4289, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4291, allocations: 11.98 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4291, allocations: 4 kB / 1.032 GB, free: 9.129 MB / 0.6823 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 () * 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 9.234e-05/0.4292, allocations: 121.7 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4292, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.4292, allocations: 15.91 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4293, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4293, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4293, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4295, allocations: 177.6 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4295, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.4296, allocations: 15.98 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4296, allocations: 0 / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4296, allocations: 0 / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4296, allocations: 4 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4296, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4299, allocations: 199.6 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.43, allocations: 93.12 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.43, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4301, allocations: 4 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.4302, allocations: 15.97 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.4302, allocations: 4 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.4302, allocations: 79.28 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.784e-06/0.4302, allocations: 4 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002162/0.4305, allocations: 19.94 kB / 1.032 GB, free: 8.293 MB / 0.6823 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 () * 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.000158/0.4306, allocations: 103.2 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.4309, allocations: 67.89 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4309, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.431, allocations: 39.97 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4312, allocations: 7.953 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.4316, allocations: 145.4 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4318, allocations: 0.6809 MB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.869e-05/0.4319, allocations: 7.984 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.4319, allocations: 11.44 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.4319, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of Templates: time 0.002777/0.4347, allocations: 0.7447 MB / 1.034 GB, free: 6.441 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches