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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001702/0.001702, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002294/0.002294, allocations: 198.4 kB / 16.25 MB, free: 6.625 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.601/1.601, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002147, allocations: 67.59 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4105, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002428/0.413, allocations: 0.7243 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.4141, allocations: 0.8508 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.4142, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.4142, allocations: 3.938 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.4143, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.4145, allocations: 12 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.4146, allocations: 23.92 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4147, allocations: 8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.4148, allocations: 11.92 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.4148, allocations: 4 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.4148, allocations: 8 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.4149, allocations: 3.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.4149, allocations: 11.97 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.4149, allocations: 7.938 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/0.415, allocations: 15.97 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.415, allocations: 4 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.415, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.415, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 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.0006823/0.4157, allocations: 335.8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4158, allocations: 12.03 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.4158, allocations: 0.9375 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.416, allocations: 180.2 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.416, allocations: 384 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.416, allocations: 4.359 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.4162, allocations: 50.23 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4162, allocations: 4.125 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4162, allocations: 3.938 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4163, allocations: 3.938 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.4164, allocations: 35.97 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.4169, allocations: 245 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.417, allocations: 42.44 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.4171, allocations: 24.91 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4172, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.4172, allocations: 38.56 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4172, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003649/0.4176, allocations: 81.55 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.4176, allocations: 59.47 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.4177, allocations: 101.8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4177, allocations: 25.7 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.4178, allocations: 80.14 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4178, allocations: 11.91 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.4179, allocations: 9.719 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.418, allocations: 318.8 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.4181, allocations: 15.98 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.4182, allocations: 15.98 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.4183, allocations: 40.81 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4183, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.4185, allocations: 73.55 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4185, allocations: 8.094 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4185, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4186, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.4187, allocations: 11.98 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4187, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4187, allocations: 7.984 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.4187, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 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.71e-05/0.4188, allocations: 109.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.4189, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.4189, allocations: 11.12 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4189, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4189, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4189, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4191, allocations: 165.6 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4191, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.4192, allocations: 15.92 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4192, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4192, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4192, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4192, allocations: 7.938 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.4195, allocations: 167.4 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.4195, allocations: 85.02 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.4195, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.4196, allocations: 7.984 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.4197, allocations: 4.031 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4197, allocations: 192 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.4197, allocations: 83.27 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4197, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.42, allocations: 8 kB / 1.072 GB, free: 6.277 MB / 0.8262 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.0002546/0.4202, allocations: 99.23 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4205, allocations: 39.97 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4205, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.4206, allocations: 19.92 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4209, allocations: 13.64 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.4213, allocations: 105.4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.4216, allocations: 0.6768 MB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.4216, allocations: 4.125 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4216, allocations: 11.44 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4216, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.002418/0.4241, allocations: 378.6 kB / 1.073 GB, free: 4.883 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