Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008414/0.008414, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7617, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001671/0.7634, allocations: 1.215 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.7638, allocations: 108.6 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.7638, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.7639, allocations: 7.922 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.7639, allocations: 3.938 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.7641, allocations: 23.97 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.7642, allocations: 43.86 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.7643, allocations: 11.97 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.7644, allocations: 11.98 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.7644, allocations: 23.86 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.7644, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.7645, allocations: 23.92 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.7646, allocations: 11.98 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.7646, allocations: 41.58 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.7648, allocations: 59.78 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7648, allocations: 4 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7648, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7648, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005244/0.7653, allocations: 377.3 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7654, allocations: 12.03 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.7654, allocations: 8.844 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.7655, allocations: 172.2 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.7656, allocations: 4.375 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.7656, allocations: 384 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.7659, allocations: 90.2 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.7659, allocations: 4.188 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.7659, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.7659, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.7662, allocations: 103.9 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.7666, allocations: 277 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.7668, allocations: 82.47 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.767, allocations: 52.92 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.7672, allocations: 116.9 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.7672, allocations: 34.5 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7673, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006204/0.7679, allocations: 185.6 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.7679, allocations: 51.41 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.768, allocations: 125.8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7681, allocations: 25.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.7681, allocations: 100.1 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.7681, allocations: 7.812 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.7682, allocations: 9.719 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7683, allocations: 322.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.7684, allocations: 47.97 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.7686, allocations: 59.83 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.7689, allocations: 96.78 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.7689, allocations: 3.938 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003497/0.7693, allocations: 133.6 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7693, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7693, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.7693, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7695, allocations: 15.98 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7695, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.7696, allocations: 23.83 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.7696, allocations: 4.328 kB / 1.027 GB, free: 11.46 MB / 0.7794 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 (3): * Single equations (assignments): 3 * 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 8.181e-05/0.7697, allocations: 125.7 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.7697, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.7701, allocations: 141.5 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7701, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7701, allocations: 4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7702, allocations: 7.984 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.7703, allocations: 177.6 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7703, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.791e-05/0.7704, allocations: 23.97 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7704, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7705, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7705, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7705, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.7709, allocations: 243.2 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.7709, allocations: 81.02 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.7709, allocations: 4 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.771, allocations: 11.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.7711, allocations: 7.984 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.7711, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.069e-05/0.7712, allocations: 111 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7712, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.7714, allocations: 12 kB / 1.028 GB, free: 10.42 MB / 0.7794 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 (3): * Single equations (assignments): 3 * 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.0001415/0.7716, allocations: 107.2 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.7719, allocations: 103.9 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7719, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.7721, allocations: 55.95 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.7724, allocations: 3.938 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.7727, allocations: 156.7 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.773, allocations: 0.6965 MB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.773, allocations: 3.984 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.773, allocations: 11.44 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.773, allocations: 0 / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of Templates: time 0.002922/0.776, allocations: 0.6519 MB / 1.03 GB, free: 8.582 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches