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.008235/0.008235, allocations: 102.6 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.001422/0.001422, allocations: 193.6 kB / 16.67 MB, free: 5.957 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 63.91 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002269/1.141, allocations: 0.6568 MB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001225/1.143, allocations: 0.8447 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/1.143, allocations: 1.25 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/1.143, allocations: 4 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/1.143, allocations: 3.938 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/1.143, allocations: 10.86 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/1.143, allocations: 27.55 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/1.143, allocations: 12.41 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/1.143, allocations: 8.375 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/1.143, allocations: 10.61 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/1.144, allocations: 2 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/1.144, allocations: 2 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/1.144, allocations: 9.547 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/1.144, allocations: 11.33 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/1.144, allocations: 17.12 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.144, allocations: 7.875 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.144, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.144, allocations: 1.156 kB / 1.09 GB, free: 4.418 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.0004997/1.144, allocations: 332.6 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.144, allocations: 9.078 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/1.144, allocations: 10.94 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.144, allocations: 169.9 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/1.145, allocations: 1.812 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.145, allocations: 2 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/1.145, allocations: 49.05 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.145, allocations: 192 / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.145, allocations: 8.938 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.145, allocations: 0 / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/1.145, allocations: 37.03 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/1.145, allocations: 246.4 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/1.145, allocations: 39.78 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/1.146, allocations: 24.84 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/1.146, allocations: 0.5625 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/1.146, allocations: 36.33 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.146, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004438/1.146, allocations: 83.64 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.146, allocations: 52.25 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/1.146, allocations: 96.95 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/1.146, allocations: 30.55 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/1.146, allocations: 89.89 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/1.146, allocations: 1.516 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/1.146, allocations: 12.09 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/1.146, allocations: 318 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/1.146, allocations: 17.55 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/1.147, allocations: 18.42 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/1.147, allocations: 41.47 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.147, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/1.147, allocations: 74.58 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.147, allocations: 6.266 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.147, allocations: 0 / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.147, allocations: 5.094 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.147, allocations: 12.81 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.147, allocations: 1.125 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/1.147, allocations: 5.766 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.147, allocations: 1.125 kB / 1.091 GB, free: 2.707 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 6.24e-05/1.147, allocations: 115.8 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/1.147, allocations: 1.734 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/1.147, allocations: 5.125 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.147, allocations: 9.203 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.147, allocations: 0 / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.147, allocations: 0.7031 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/1.148, allocations: 159.5 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.148, allocations: 1.094 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/1.148, allocations: 8.734 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.148, allocations: 0.5156 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/1.148, allocations: 3.938 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.148, allocations: 1.391 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.148, allocations: 1 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/1.148, allocations: 169.8 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/1.148, allocations: 83 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/1.148, allocations: 1.406 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/1.148, allocations: 5.203 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/1.148, allocations: 2.734 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/1.148, allocations: 1.344 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.029e-05/1.148, allocations: 88.61 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.148, allocations: 0 / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002088/1.148, allocations: 3.594 kB / 1.092 GB, free: 2.047 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.000174/1.149, allocations: 99.45 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002594/1.149, allocations: 39.14 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.149, allocations: 4.062 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/1.149, allocations: 20.52 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.149, allocations: 15.92 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/1.15, allocations: 105.1 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/1.15, allocations: 0.6758 MB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.663e-05/1.15, allocations: 1.812 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/1.15, allocations: 8.719 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of SimCode: time 2.184e-06/1.15, allocations: 4 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of Templates: time 0.003105/1.153, allocations: 441.3 kB / 1.093 GB, free: 1.055 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