Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005638/0.005638, allocations: 99.41 kB / 15.73 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.00122/0.00122, allocations: 196 kB / 16.67 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 2.801/2.801, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3514, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00232/0.3538, allocations: 0.8713 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3551, allocations: 0.8856 MB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3552, allocations: 4 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3554, allocations: 15.81 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.3554, allocations: 11.88 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.3556, allocations: 39.88 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3559, allocations: 99.77 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.356, allocations: 35.95 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3562, allocations: 47.78 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3563, allocations: 39.83 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.3563, allocations: 8 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.3563, allocations: 8 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3563, allocations: 15.94 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.3564, allocations: 35.73 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.3566, allocations: 103.6 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3566, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3566, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3566, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006848/0.3573, allocations: 418.9 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3573, allocations: 12.03 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.3574, allocations: 8.891 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3576, allocations: 216.1 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3577, allocations: 4.375 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3577, allocations: 8.375 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.3579, allocations: 97.94 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3579, allocations: 192 / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.358, allocations: 3.938 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.358, allocations: 4 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.3582, allocations: 75.88 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.3588, allocations: 344.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.359, allocations: 70.47 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3592, allocations: 32.92 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3592, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3592, allocations: 34.56 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3592, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000483/0.3597, allocations: 121.5 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3597, allocations: 51.41 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3599, allocations: 143.2 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3599, allocations: 29.7 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.3599, allocations: 104 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.36, allocations: 11.94 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.36, allocations: 25.7 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3601, allocations: 322.8 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3603, allocations: 27.97 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.3604, allocations: 35.97 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3606, allocations: 56.75 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3606, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000275/0.3608, allocations: 105.5 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3608, allocations: 10.03 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3609, allocations: 0 / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3609, allocations: 0 / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.361, allocations: 11.98 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.361, allocations: 3.938 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3611, allocations: 19.92 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3611, allocations: 8 kB / 1.225 GB, free: 8.914 MB / 0.9825 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 (5): * Single equations (assignments): 5 * 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 9.372e-05/0.3612, allocations: 113.8 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3612, allocations: 3.953 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3613, allocations: 16.25 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3613, allocations: 0 / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3613, allocations: 7.922 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3613, allocations: 0 / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.3615, allocations: 181.6 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3615, allocations: 4 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.3616, allocations: 11.98 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.3616, allocations: 11.92 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3616, allocations: 0 / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3616, allocations: 192 / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3616, allocations: 7.938 kB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.3619, allocations: 187.5 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.3619, allocations: 85.3 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.362, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3621, allocations: 19.97 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.3622, allocations: 19.84 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3622, allocations: 4 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.062e-05/0.3622, allocations: 99.27 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3622, allocations: 0 / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002273/0.3625, allocations: 15.94 kB / 1.226 GB, free: 8.043 MB / 0.9825 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 (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.0001666/0.3626, allocations: 111.2 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3629, allocations: 71.88 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3629, allocations: 0 / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.363, allocations: 27.97 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3633, allocations: 22.28 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.3638, allocations: 194.9 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3641, allocations: 0.6924 MB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.3641, allocations: 8 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.3642, allocations: 11.44 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/0.3642, allocations: 0 / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of Templates: time 0.003486/0.3677, allocations: 1.02 MB / 1.228 GB, free: 5.844 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches