Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 101 kB / 15.73 MB, free: 6.043 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.002044/0.002044, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.619/1.619, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.84 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4023, allocations: 140.4 MB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001864/0.4042, allocations: 0.6708 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.4053, allocations: 0.8433 MB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.4054, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.4054, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.4055, allocations: 3.938 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.4057, allocations: 11.98 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.4057, allocations: 19.92 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4058, allocations: 12 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.4059, allocations: 19.91 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.406, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.406, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.406, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.406, allocations: 15.86 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.4061, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.458e-05/0.4062, allocations: 23.91 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4062, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4062, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4062, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 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.000491/0.4067, allocations: 343.4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4067, allocations: 8.031 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.4068, allocations: 4.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4069, allocations: 168.3 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4069, allocations: 384 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4069, allocations: 4.375 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4071, allocations: 42.25 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4071, allocations: 4.188 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4071, allocations: 11.92 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4071, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.4073, allocations: 27.97 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.4077, allocations: 244.9 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.4078, allocations: 54.53 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.4079, allocations: 20.84 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.4079, allocations: 3.984 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.408, allocations: 30.56 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.966e-06/0.408, allocations: 3.984 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.4083, allocations: 93.62 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4084, allocations: 51.41 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.4085, allocations: 101.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4085, allocations: 25.7 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.4086, allocations: 84.14 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.4086, allocations: 3.953 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.4086, allocations: 13.72 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4087, allocations: 318.8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.4088, allocations: 16.02 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.4089, allocations: 19.98 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.4091, allocations: 32.83 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4091, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.4093, allocations: 77.59 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4093, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4093, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4093, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.4094, allocations: 7.984 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4094, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.4095, allocations: 7.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.4095, allocations: 3.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 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 0.000115/0.4096, allocations: 121.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.4097, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.4097, allocations: 3.125 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4097, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4097, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4097, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4099, allocations: 165.5 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.41, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.41, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.41, allocations: 7.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4101, allocations: 7.938 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4101, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4101, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.4104, allocations: 167.4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.4104, allocations: 77.11 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4105, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.4105, allocations: 8.031 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.4106, allocations: 7.984 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4106, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.4106, allocations: 79.28 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4106, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002116/0.4109, allocations: 3.938 kB / 1.092 GB, free: 12.97 MB / 0.8575 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.0001543/0.411, allocations: 99.78 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.4112, allocations: 43.89 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4113, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.4113, allocations: 19.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.4116, allocations: 9.188 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.4119, allocations: 101.6 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4122, allocations: 0.6808 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.4122, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.4123, allocations: 7.438 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.4123, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.002527/0.4148, allocations: 439.3 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches