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.001043/0.001043, allocations: 99.27 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006314, allocations: 13.16 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3412, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.0009773/0.3422, allocations: 404.5 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3434, allocations: 0.843 MB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.3434, allocations: 0 / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.3435, allocations: 3.938 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.3436, allocations: 4 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.3437, allocations: 12 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.3438, allocations: 23.92 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.3439, allocations: 4 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.344, allocations: 11.94 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.3441, allocations: 7.984 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3441, allocations: 0 / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3441, allocations: 0 / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.3441, allocations: 3.938 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3442, allocations: 49.55 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.319e-05/0.3443, allocations: 15.97 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3443, allocations: 0 / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3443, allocations: 0 / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3443, allocations: 0 / 1.061 GB, free: 3.535 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.0004524/0.3447, allocations: 335.8 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3448, allocations: 11.97 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3448, allocations: 4.938 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.345, allocations: 176.2 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.345, allocations: 384 / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.345, allocations: 384 / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3452, allocations: 58.22 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3452, allocations: 4.188 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3453, allocations: 3.938 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3453, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3455, allocations: 47.95 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3459, allocations: 241 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.346, allocations: 54.42 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.3461, allocations: 28.91 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3462, allocations: 0 / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3462, allocations: 30.56 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3462, allocations: 4 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003747/0.3466, allocations: 101.6 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.3466, allocations: 55.53 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.3467, allocations: 97.86 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3467, allocations: 25.7 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.3468, allocations: 84.12 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3468, allocations: 7.906 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.3468, allocations: 9.719 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.347, allocations: 314.8 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.3471, allocations: 23.98 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.3472, allocations: 23.97 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3473, allocations: 48.89 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3473, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.3476, allocations: 85.53 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3476, allocations: 4 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3476, allocations: 7.969 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3476, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.3477, allocations: 11.98 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.3477, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.3478, allocations: 8 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3478, allocations: 0 / 1.062 GB, free: 1.438 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 8.587e-05/0.3479, allocations: 117.7 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3479, allocations: 15.89 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.3479, allocations: 3.125 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3479, allocations: 0 / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.348, allocations: 0 / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.348, allocations: 0 / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.3481, allocations: 157.6 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3482, allocations: 4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.3482, allocations: 11.98 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3482, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3483, allocations: 4 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3483, allocations: 4 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3483, allocations: 0 / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3485, allocations: 179.4 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.3486, allocations: 81.11 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3486, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.3487, allocations: 7.984 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3487, allocations: 4 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3487, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.3488, allocations: 91.44 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3488, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002108/0.349, allocations: 8.031 kB / 1.063 GB, free: 0.6719 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.0001473/0.3492, allocations: 95.25 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3494, allocations: 47.95 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3494, allocations: 8 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/0.3495, allocations: 23.98 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3498, allocations: 7.938 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3501, allocations: 138.4 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3503, allocations: 0.6771 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.3504, allocations: 11.44 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3504, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.001881/0.3523, allocations: 0.5276 MB / 1.065 GB, free: 15.07 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/jenkins1/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