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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01108/0.01108, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001814/0.001814, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.58 kB / 0.9508 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001849/0.3488, allocations: 0.7121 MB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3499, allocations: 0.8354 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.35, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.35, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.3501, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.3503, allocations: 15.98 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.3504, allocations: 51.84 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3505, allocations: 19.97 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.3506, allocations: 19.92 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3507, allocations: 23.92 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3507, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.3507, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.3508, allocations: 11.97 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.3508, allocations: 23.88 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3509, allocations: 43.8 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3509, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3509, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.351, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 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.0005748/0.3515, allocations: 355.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3516, allocations: 12.03 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3516, allocations: 4.844 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3518, allocations: 172.3 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3518, allocations: 4.359 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3519, allocations: 4.375 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3521, allocations: 73.59 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3521, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3522, allocations: 7.938 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3522, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3524, allocations: 51.89 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.3528, allocations: 284.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.3531, allocations: 66.53 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3532, allocations: 32.91 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3532, allocations: 3.938 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3532, allocations: 34.56 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3532, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004067/0.3537, allocations: 105.6 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3537, allocations: 51.41 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.3538, allocations: 109.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3538, allocations: 29.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.3539, allocations: 87.98 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3539, allocations: 11.97 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3539, allocations: 21.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3541, allocations: 322.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3542, allocations: 23.97 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.3543, allocations: 27.91 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.3545, allocations: 48.83 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3545, allocations: 4 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002362/0.3547, allocations: 85.95 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3548, allocations: 9.719 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3548, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3548, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3549, allocations: 11.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3549, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.355, allocations: 15.83 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.355, allocations: 3.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 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 8.75e-05/0.3551, allocations: 121.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3551, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.3552, allocations: 11.89 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3552, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3552, allocations: 3.938 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3552, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3554, allocations: 177.6 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3554, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.3555, allocations: 11.98 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3555, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3555, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3555, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3555, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.3558, allocations: 187.3 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.3559, allocations: 81.11 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3559, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.356, allocations: 15.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.3561, allocations: 11.98 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3561, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.3561, allocations: 87.58 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3561, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002225/0.3564, allocations: 15.94 kB / 1.092 GB, free: 12.66 MB / 0.8575 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.0001221/0.3565, allocations: 95.25 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.3568, allocations: 55.95 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3568, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3569, allocations: 39.91 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3572, allocations: 4.172 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.3576, allocations: 141.5 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3579, allocations: 0.6846 MB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.136e-05/0.3579, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.358, allocations: 15.42 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.358, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of Templates: time 0.003091/0.3611, allocations: 0.8935 MB / 1.094 GB, free: 10.68 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches