Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009282/0.009282, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.054/3.054, allocations: 470.6 MB / 0.7442 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 19.5 kB / 0.9123 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3522, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001304/0.3535, allocations: 0.5368 MB / 1.07 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3548, allocations: 0.878 MB / 1.071 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.3549, allocations: 3.938 kB / 1.071 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.355, allocations: 3.938 kB / 1.071 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.3551, allocations: 7.938 kB / 1.071 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.3552, allocations: 31.91 kB / 1.071 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3554, allocations: 67.84 kB / 1.071 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3555, allocations: 31.92 kB / 1.071 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.774e-05/0.3556, allocations: 15.92 kB / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.3557, allocations: 23.86 kB / 1.071 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3557, allocations: 7.938 kB / 1.071 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.3558, allocations: 3.938 kB / 1.071 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.3558, allocations: 15.92 kB / 1.072 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.3559, allocations: 49.5 kB / 1.072 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.356, allocations: 68.02 kB / 1.072 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.356, allocations: 4 kB / 1.072 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.356, allocations: 0 / 1.072 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.356, allocations: 0 / 1.072 GB, free: 9.605 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006528/0.3567, allocations: 387.2 kB / 1.072 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3567, allocations: 11.97 kB / 1.072 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3568, allocations: 8.844 kB / 1.072 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.3571, allocations: 200.1 kB / 1.072 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3571, allocations: 384 / 1.072 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3571, allocations: 4.375 kB / 1.072 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3573, allocations: 70.17 kB / 1.072 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3573, allocations: 8.125 kB / 1.072 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3573, allocations: 3.938 kB / 1.072 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.3574, allocations: 0 / 1.072 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3575, allocations: 31.98 kB / 1.072 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3581, allocations: 328.6 kB / 1.073 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3583, allocations: 50.66 kB / 1.073 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.3583, allocations: 28.91 kB / 1.073 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3584, allocations: 0 / 1.073 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3584, allocations: 34.59 kB / 1.073 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3584, allocations: 0 / 1.073 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002809/0.3587, allocations: 81.66 kB / 1.073 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.3588, allocations: 55.41 kB / 1.073 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3589, allocations: 139.3 kB / 1.073 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3589, allocations: 25.7 kB / 1.073 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.359, allocations: 96.08 kB / 1.073 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.359, allocations: 7.891 kB / 1.073 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3591, allocations: 17.72 kB / 1.073 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3593, allocations: 318.8 kB / 1.073 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.3593, allocations: 23.98 kB / 1.073 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.3594, allocations: 15.98 kB / 1.073 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.3595, allocations: 32.78 kB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3595, allocations: 0 / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001622/0.3597, allocations: 73.81 kB / 1.074 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3597, allocations: 13.23 kB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3597, allocations: 0 / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3597, allocations: 0 / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.3598, allocations: 12 kB / 1.074 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3598, allocations: 0 / 1.074 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.3599, allocations: 12.03 kB / 1.074 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3599, allocations: 3.984 kB / 1.074 GB, free: 7.328 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 0.0001132/0.36, allocations: 125.7 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.3601, allocations: 7.906 kB / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.3601, allocations: 16.23 kB / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3601, allocations: 0 / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3601, allocations: 0 / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3601, allocations: 0 / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3604, allocations: 189.5 kB / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3604, allocations: 0 / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3604, allocations: 4 kB / 1.074 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3604, allocations: 4 kB / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3605, allocations: 7.984 kB / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3605, allocations: 0 / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3605, allocations: 0 / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3607, allocations: 163.4 kB / 1.074 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.3608, allocations: 81.02 kB / 1.074 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3608, allocations: 8 kB / 1.074 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3609, allocations: 15.98 kB / 1.074 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.361, allocations: 11.92 kB / 1.074 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.361, allocations: 0 / 1.074 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.3611, allocations: 105.3 kB / 1.074 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3611, allocations: 0 / 1.074 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002218/0.3613, allocations: 11.94 kB / 1.074 GB, free: 6.496 MB / 0.8262 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001827/0.3615, allocations: 107.2 kB / 1.074 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.3617, allocations: 39.98 kB / 1.074 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3617, allocations: 0 / 1.074 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.3617, allocations: 15.98 kB / 1.074 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3621, allocations: 15.88 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.3625, allocations: 190 kB / 1.075 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3629, allocations: 0.6926 MB / 1.075 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.3629, allocations: 7.984 kB / 1.075 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.3629, allocations: 11.44 kB / 1.075 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of SimCode: time 2.084e-06/0.3629, allocations: 0 / 1.075 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.003485/0.3664, allocations: 0.7278 MB / 1.076 GB, free: 4.637 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches