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.001297/0.001297, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001234/0.001234, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.6/1.6, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 63.88 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3508, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00202/0.3529, allocations: 0.6719 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.3539, allocations: 0.8453 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.3539, allocations: 4 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.3539, allocations: 7.938 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.354, allocations: 3.938 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.3542, allocations: 11.92 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.3542, allocations: 20 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3544, allocations: 15.97 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.3544, allocations: 7.875 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.3545, allocations: 15.92 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3545, allocations: 4 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.3545, allocations: 0 / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.3545, allocations: 8 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.3546, allocations: 7.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.682e-05/0.3546, allocations: 27.89 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3547, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3547, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3547, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 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.0004385/0.3551, allocations: 327.6 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3552, allocations: 12.03 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.3552, allocations: 8.844 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3553, allocations: 172.3 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3553, allocations: 4.375 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3554, allocations: 4.359 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3555, allocations: 50.23 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3556, allocations: 192 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3556, allocations: 3.938 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3556, allocations: 3.938 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.3558, allocations: 35.95 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.3561, allocations: 249 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3562, allocations: 38.5 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.3563, allocations: 20.89 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3563, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3564, allocations: 46.5 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3564, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003321/0.3567, allocations: 73.64 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3568, allocations: 55.41 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.3568, allocations: 97.86 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3568, allocations: 25.83 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.3569, allocations: 88.12 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.3569, allocations: 11.91 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.357, allocations: 9.719 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.3571, allocations: 310.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.3571, allocations: 19.98 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.3572, allocations: 15.97 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3574, allocations: 48.83 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3574, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/0.3576, allocations: 73.44 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3576, allocations: 8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3576, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3576, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.3577, allocations: 16.02 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3577, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3578, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3578, allocations: 0 / 1.03 GB, free: 14.38 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.014e-05/0.3579, allocations: 113.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3579, allocations: 3.984 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.3579, allocations: 15.06 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3579, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3579, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.358, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3581, allocations: 157.6 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3581, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.3582, allocations: 11.98 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3582, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3582, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3582, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3582, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3584, allocations: 167.5 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.3585, allocations: 77.11 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3585, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.3586, allocations: 3.984 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.3586, allocations: 4.188 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3586, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.3587, allocations: 91.22 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3587, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002203/0.3589, allocations: 11.91 kB / 1.031 GB, free: 13.63 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.0001484/0.359, allocations: 95.25 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3593, allocations: 39.95 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3593, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.3593, allocations: 16.05 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3596, allocations: 18.91 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.36, allocations: 109.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3602, allocations: 0.6844 MB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.3602, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3603, allocations: 11.44 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3603, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.002311/0.3626, allocations: 425.4 kB / 1.032 GB, free: 12.19 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 -s cvode -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