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.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.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.001018/0.001018, 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.001034/0.001033, 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.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.109/3.109, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 12.97 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3476, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.0009296/0.3486, allocations: 388.7 kB / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3497, allocations: 0.843 MB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.3498, allocations: 0 / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.3498, allocations: 0 / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.3499, allocations: 7.922 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3501, allocations: 8 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.3501, allocations: 15.98 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.3502, allocations: 8 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.773e-05/0.3503, allocations: 7.922 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.3504, allocations: 15.92 kB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3504, allocations: 0 / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.3504, allocations: 4 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.3504, allocations: 4 kB / 1.059 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.3504, allocations: 25.7 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.812e-05/0.3505, allocations: 19.95 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3505, allocations: 0 / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3505, allocations: 0 / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3505, allocations: 0 / 1.059 GB, free: 3.93 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.0004463/0.351, allocations: 335.6 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.351, allocations: 8.031 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3511, allocations: 7.984 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3512, allocations: 166.9 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3512, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3512, allocations: 7.953 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3514, allocations: 61.61 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3515, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3515, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3515, allocations: 3.938 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3517, allocations: 39.97 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3521, allocations: 256.9 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3522, allocations: 42.5 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.3523, allocations: 32.91 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3523, allocations: 3.984 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3524, allocations: 30.56 kB / 1.06 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.719e-06/0.3524, allocations: 4 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.3527, allocations: 101.6 kB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3528, allocations: 51.41 kB / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.3529, allocations: 97.86 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3529, allocations: 25.7 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.3529, allocations: 84.14 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.353, allocations: 3.906 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.353, allocations: 8.062 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.3531, allocations: 318.8 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.3532, allocations: 19.98 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.3532, allocations: 19.98 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.487e-05/0.3533, allocations: 28 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3533, allocations: 0 / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001931/0.3535, allocations: 73.66 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3536, allocations: 9.75 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3536, allocations: 192 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3536, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.3537, allocations: 15.98 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3537, allocations: 0 / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.3538, allocations: 11.97 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3538, allocations: 0 / 1.061 GB, free: 1.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.291e-05/0.3539, allocations: 125.7 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3539, allocations: 3.906 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.3539, allocations: 3.125 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3539, allocations: 4 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3539, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3539, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3541, allocations: 161.6 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3541, allocations: 3.953 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3542, allocations: 8 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3542, allocations: 7.984 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3542, allocations: 0 / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3542, allocations: 0 / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3542, allocations: 4 kB / 1.061 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3544, allocations: 171.5 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3545, allocations: 85 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3545, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.3546, allocations: 11.94 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3546, allocations: 3.984 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.3546, allocations: 7.938 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.3547, allocations: 79.28 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3547, allocations: 4.031 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002225/0.3549, allocations: 4 kB / 1.062 GB, free: 1.117 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 (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.0001551/0.3551, allocations: 95.25 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3553, allocations: 51.95 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3553, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.3554, allocations: 23.98 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3557, allocations: 4 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.356, allocations: 112.7 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.3563, allocations: 0.677 MB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.3563, allocations: 7.906 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.3563, allocations: 7.438 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.3563, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of Templates: time 0.002383/0.3587, allocations: 357.1 kB / 1.063 GB, free: 15.73 MB / 0.8262 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