Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009662/0.009663, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.002052/0.002052, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.91 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 140.4 MB / 1.088 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001992/1.017, allocations: 0.67 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009884/1.018, allocations: 0.7921 MB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/1.018, allocations: 0 / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/1.018, allocations: 1.031 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/1.018, allocations: 8.688 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/1.019, allocations: 15.17 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/1.019, allocations: 28.22 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/1.019, allocations: 4.203 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/1.019, allocations: 9.141 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/1.019, allocations: 13.38 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/1.019, allocations: 2.469 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/1.019, allocations: 2.5 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/1.019, allocations: 0.75 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/1.019, allocations: 11.7 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.419e-05/1.019, allocations: 24.5 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.019, allocations: 3.938 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/1.019, allocations: 0.7031 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.198e-06/1.019, allocations: 1.062 kB / 1.09 GB, free: 4.473 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.0004523/1.02, allocations: 332.7 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.02, allocations: 12.72 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/1.02, allocations: 6.953 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/1.02, allocations: 170.8 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.02, allocations: 6.062 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.02, allocations: 1.656 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/1.02, allocations: 48.55 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.02, allocations: 192 / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.02, allocations: 3.938 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.02, allocations: 1.609 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/1.02, allocations: 32.25 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/1.021, allocations: 250.9 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/1.021, allocations: 48.75 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/1.021, allocations: 23.41 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/1.021, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.021, allocations: 36.36 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/1.021, allocations: 0.9062 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004199/1.021, allocations: 83.59 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.021, allocations: 52.47 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/1.022, allocations: 101.3 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/1.022, allocations: 26.41 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/1.022, allocations: 85.75 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/1.022, allocations: 5.844 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/1.022, allocations: 15.91 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/1.022, allocations: 313.1 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/1.022, allocations: 13.89 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/1.022, allocations: 18.88 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/1.022, allocations: 40.88 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.022, allocations: 0 / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/1.022, allocations: 75.19 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.022, allocations: 5.547 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.022, allocations: 0.6562 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.022, allocations: 0.7188 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/1.022, allocations: 12.7 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.022, allocations: 4.812 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/1.022, allocations: 6.219 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.023, allocations: 1.031 kB / 1.091 GB, free: 2.758 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 5.578e-05/1.023, allocations: 116.2 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/1.023, allocations: 1.031 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/1.023, allocations: 68.34 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.023, allocations: 8.531 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.023, allocations: 0 / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.023, allocations: 1.125 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/1.023, allocations: 167.1 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.023, allocations: 1.375 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/1.023, allocations: 8.516 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.023, allocations: 1.531 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/1.023, allocations: 0.6094 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.023, allocations: 0 / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.023, allocations: 1.719 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/1.023, allocations: 165.9 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/1.023, allocations: 82.53 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/1.023, allocations: 1.875 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/1.023, allocations: 9.234 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.024, allocations: 3.031 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/1.024, allocations: 8.688 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.613e-05/1.024, allocations: 79.62 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 3.938 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002136/1.024, allocations: 4 kB / 1.092 GB, free: 2.055 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.0001371/1.024, allocations: 100.8 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002377/1.024, allocations: 41.03 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.024, allocations: 4.062 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/1.024, allocations: 16.69 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/1.025, allocations: 6.734 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/1.025, allocations: 108.9 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/1.025, allocations: 0.6802 MB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.424e-05/1.025, allocations: 1.703 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/1.025, allocations: 12.59 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of SimCode: time 1.142e-06/1.025, allocations: 0 / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of Templates: time 0.002692/1.028, allocations: 437.2 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches