Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001917/0.001917, allocations: 194.3 kB / 16.14 MB, free: 6.645 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 70.69 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3503, allocations: 157.4 MB / 1.052 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002211/0.3525, allocations: 0.7261 MB / 1.053 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3536, allocations: 0.8508 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.3536, allocations: 0 / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.3537, allocations: 3.984 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.3538, allocations: 3.938 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.3539, allocations: 12 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.354, allocations: 19.98 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.3541, allocations: 4 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.3542, allocations: 11.88 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.3542, allocations: 15.97 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3542, allocations: 4 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.3543, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.3543, allocations: 7.938 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.3543, allocations: 7.984 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.208e-05/0.3544, allocations: 19.91 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3544, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3544, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3544, allocations: 0 / 1.054 GB, free: 7.094 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004032/0.3548, allocations: 335.8 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3549, allocations: 8.031 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.3549, allocations: 8.844 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.355, allocations: 164.3 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.355, allocations: 384 / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3551, allocations: 4.375 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3552, allocations: 46.23 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3553, allocations: 8.125 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3553, allocations: 3.938 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3553, allocations: 8 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3554, allocations: 31.95 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.3558, allocations: 244.9 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3559, allocations: 50.41 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3561, allocations: 24.91 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3561, allocations: 0 / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3561, allocations: 34.5 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3562, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004638/0.3566, allocations: 81.64 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3567, allocations: 55.53 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3568, allocations: 109.8 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3568, allocations: 25.7 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.3569, allocations: 80.14 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3569, allocations: 3.906 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.357, allocations: 17.72 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3571, allocations: 310.8 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3572, allocations: 19.97 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3573, allocations: 23.92 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3576, allocations: 32.83 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3576, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002678/0.3578, allocations: 73.56 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3579, allocations: 9.75 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3579, allocations: 4 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3579, allocations: 0 / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.358, allocations: 7.984 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3581, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.3581, allocations: 7.984 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3581, allocations: 4 kB / 1.056 GB, free: 5.066 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.664e-05/0.3582, allocations: 119.2 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.3583, allocations: 4 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.3583, allocations: 3.125 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3583, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3583, allocations: 4 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3584, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3585, allocations: 165.6 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3585, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.3586, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3586, allocations: 4 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3586, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3586, allocations: 11.92 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3586, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3589, allocations: 159.5 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.3589, allocations: 81.09 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3589, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.359, allocations: 4.031 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.359, allocations: 19.92 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3591, allocations: 7.938 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.3591, allocations: 75.28 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3591, allocations: 4 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002212/0.3593, allocations: 0 / 1.056 GB, free: 4.324 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001451/0.3595, allocations: 99.25 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3597, allocations: 39.95 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3597, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.3598, allocations: 19.98 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3601, allocations: 7.938 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.3604, allocations: 119.1 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3606, allocations: 0.685 MB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.3606, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.3607, allocations: 7.438 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of SimCode: time 1.874e-06/0.3607, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of Templates: time 0.002355/0.363, allocations: 368.6 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches