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.001564/0.001564, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001673/0.001673, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 67.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8452, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001944/0.8472, allocations: 0.6686 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.8482, allocations: 0.8355 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.8483, allocations: 5.25 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.8483, allocations: 0.6094 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.8484, allocations: 7.938 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.8486, allocations: 14.11 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.8487, allocations: 24.61 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.8488, allocations: 12.52 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.8488, allocations: 3.719 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.8489, allocations: 17.84 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.8489, allocations: 2.062 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.8489, allocations: 2.062 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.849, allocations: 6.719 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.849, allocations: 6.719 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.766e-05/0.8491, allocations: 28.94 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8491, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8491, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8491, allocations: 1.188 kB / 1.09 GB, free: 4.383 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.0003954/0.8495, allocations: 332.6 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8496, allocations: 9.594 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.8496, allocations: 5.875 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.188e-05/0.8497, allocations: 166.6 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8497, allocations: 1.938 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.8497, allocations: 5.469 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8499, allocations: 53.5 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8499, allocations: 0.9844 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8499, allocations: 3.938 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8499, allocations: 0.875 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.8501, allocations: 32.06 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.8504, allocations: 246.7 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.8505, allocations: 45.38 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.8506, allocations: 23.61 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.8506, allocations: 3.938 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.8507, allocations: 32.45 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.8507, allocations: 4 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003368/0.851, allocations: 76.19 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.851, allocations: 51.92 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/0.8511, allocations: 105.4 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.8511, allocations: 29.64 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.8512, allocations: 90.72 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.8512, allocations: 8.812 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.8512, allocations: 13.3 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.8513, allocations: 313.1 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.8514, allocations: 21.97 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.8514, allocations: 14.48 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.8516, allocations: 44.78 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8516, allocations: 0.6094 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.8518, allocations: 70.14 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8518, allocations: 6.078 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8518, allocations: 1.188 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8518, allocations: 3.938 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.8519, allocations: 13.28 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.852, allocations: 4.031 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.852, allocations: 6.516 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.852, allocations: 1.719 kB / 1.092 GB, free: 2.664 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 4.873e-05/0.8521, allocations: 111.7 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.8521, allocations: 1.125 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.8521, allocations: 8.953 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8521, allocations: 0.9375 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8521, allocations: 0.7969 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.8522, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.8523, allocations: 163.8 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8523, allocations: 0.7031 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.8524, allocations: 8.281 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8524, allocations: 1.656 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.8524, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8524, allocations: 0.9688 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8524, allocations: 0.6094 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.8526, allocations: 169.9 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.8527, allocations: 83.19 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.8527, allocations: 1.5 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.8528, allocations: 5.969 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.8528, allocations: 2.188 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.8528, allocations: 1.797 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.8528, allocations: 87.25 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8529, allocations: 4.031 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002076/0.8531, allocations: 4.125 kB / 1.093 GB, free: 2.008 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.0001417/0.8532, allocations: 99.22 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.8534, allocations: 35.2 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8535, allocations: 0.875 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.8536, allocations: 28.19 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.8538, allocations: 14.97 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.8541, allocations: 132.4 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.8542, allocations: 0.6753 MB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.8543, allocations: 8.844 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of SimCode: time 7.51e-07/0.8543, allocations: 0 / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.002065/0.8563, allocations: 0.5441 MB / 1.094 GB, free: 1.027 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/jenkins1/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