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.001297/0.001297, allocations: 112.6 kB / 16.41 MB, free: 6.504 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.001342/0.001342, allocations: 190.9 kB / 17.34 MB, free: 5.758 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.49/2.49, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 1.055 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7537, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00177/0.7555, allocations: 0.6588 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.7564, allocations: 0.8507 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.7565, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.7565, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.7566, allocations: 3.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.7567, allocations: 8 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.7568, allocations: 23.92 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.7569, allocations: 15.98 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.7569, allocations: 15.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.636e-05/0.757, allocations: 15.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.757, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.757, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.757, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.7571, allocations: 7.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.081e-05/0.7571, allocations: 23.84 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7571, allocations: 0 / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7572, allocations: 4 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7572, allocations: 0 / 1.21 GB, free: 11.93 MB / 0.9356 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.0003999/0.7576, allocations: 339.5 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.7576, allocations: 8.031 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.7576, allocations: 4.938 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7578, allocations: 172.2 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.7578, allocations: 4.375 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.7578, allocations: 384 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.758, allocations: 54.22 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.758, allocations: 4.188 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.758, allocations: 3.938 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.758, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.7582, allocations: 31.91 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.7585, allocations: 245 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.7586, allocations: 42.5 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.7587, allocations: 20.91 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.7587, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7587, allocations: 34.55 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7588, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.7591, allocations: 89.59 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.7591, allocations: 59.33 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.7592, allocations: 97.86 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.7592, allocations: 25.7 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.7593, allocations: 84.14 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.7593, allocations: 7.906 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.7593, allocations: 17.7 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7594, allocations: 310.8 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.7595, allocations: 20.02 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.7596, allocations: 11.98 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.7598, allocations: 40.81 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7598, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.76, allocations: 73.67 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.76, allocations: 4 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.76, allocations: 3.984 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.76, allocations: 0 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.7601, allocations: 11.94 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.7601, allocations: 0 / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.7602, allocations: 7.984 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.7602, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 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 7.385e-05/0.7603, allocations: 117.8 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.7603, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.7603, allocations: 11.12 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7603, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7603, allocations: 3.984 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7603, allocations: 4 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.7605, allocations: 157.6 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7605, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.7606, allocations: 7.984 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.7606, allocations: 3.938 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.7606, allocations: 4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7606, allocations: 7.984 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7606, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.7608, allocations: 159.5 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.7609, allocations: 81.02 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.7609, allocations: 4.031 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.761, allocations: 11.98 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.761, allocations: 3.938 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.761, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.761, allocations: 83.45 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7611, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002069/0.7613, allocations: 4 kB / 1.212 GB, free: 9.156 MB / 0.9356 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.0001152/0.7614, allocations: 107.2 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.7616, allocations: 39.91 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7616, allocations: 0 / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.7617, allocations: 19.97 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.762, allocations: 15.48 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.7622, allocations: 131.2 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.7625, allocations: 0.6769 MB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.7625, allocations: 11.44 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7625, allocations: 0 / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.001691/0.7642, allocations: 0.5327 MB / 1.214 GB, free: 7.559 MB / 0.9356 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