Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001042/0.001041, allocations: 84.38 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.001065/0.001065, 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.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.992/2.992, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 10.97 kB / 0.9022 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.346, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001171/0.3472, allocations: 0.5198 MB / 1.059 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3486, allocations: 0.8703 MB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.3487, allocations: 3.938 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3489, allocations: 3.938 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.3489, allocations: 15.91 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3491, allocations: 19.92 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3493, allocations: 59.84 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3494, allocations: 23.89 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3495, allocations: 31.84 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3496, allocations: 23.86 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3497, allocations: 4 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.3497, allocations: 0 / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3497, allocations: 7.875 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.3498, allocations: 33.7 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3499, allocations: 59.84 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3499, allocations: 7.938 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.205e-06/0.3499, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3499, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 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.0006735/0.3506, allocations: 379.4 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.3507, allocations: 12.03 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.3507, allocations: 11.91 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.351, allocations: 193.1 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.351, allocations: 8 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.351, allocations: 7.953 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3512, allocations: 69.53 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3512, allocations: 0 / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3512, allocations: 4 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3512, allocations: 4 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3513, allocations: 35.98 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.3519, allocations: 328.6 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3522, allocations: 54.56 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.3522, allocations: 21 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3523, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3523, allocations: 34.56 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3523, allocations: 4 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000269/0.3526, allocations: 77.61 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3526, allocations: 51.41 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3528, allocations: 134 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3528, allocations: 29.7 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.3529, allocations: 104 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3529, allocations: 7.844 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.353, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3531, allocations: 326.8 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.3532, allocations: 15.98 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.3532, allocations: 16.19 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/0.3533, allocations: 20.06 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3533, allocations: 4 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.3535, allocations: 69.62 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3535, allocations: 9.5 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3535, allocations: 0 / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3535, allocations: 3.984 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.3536, allocations: 4 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3536, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.3537, allocations: 23.89 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3537, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 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 (les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.261e-05/0.3538, allocations: 117.8 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3538, allocations: 4 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.3539, allocations: 12.23 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3539, allocations: 4 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3539, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3539, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3541, allocations: 185.6 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3541, allocations: 0 / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.3542, allocations: 7.938 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3542, allocations: 0 / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3542, allocations: 3.984 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3542, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3542, allocations: 7.938 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.3544, allocations: 167.4 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3545, allocations: 81.02 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3545, allocations: 0 / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3546, allocations: 23.98 kB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3547, allocations: 7.984 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3547, allocations: 0 / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.261e-05/0.3547, allocations: 103.3 kB / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3548, allocations: 0 / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002259/0.355, allocations: 11.98 kB / 1.062 GB, free: 0.5508 MB / 0.8106 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 (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.0001647/0.3552, allocations: 99.25 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.3553, allocations: 39.92 kB / 1.062 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3553, allocations: 0 / 1.062 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.3554, allocations: 23.98 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3557, allocations: 17.14 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3562, allocations: 188.4 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.3567, allocations: 0.6926 MB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.3567, allocations: 8.453 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.3568, allocations: 7.438 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 3.256e-06/0.3568, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.003682/0.3605, allocations: 0.7018 MB / 1.064 GB, free: 14.72 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches