Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_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.01025/0.01025, allocations: 99 kB / 15.73 MB, free: 6.059 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.002049/0.002049, allocations: 189.3 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.066 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.603/2.603, allocations: 390.2 MB / 0.6648 GB, free: 108 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 71.41 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3339, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002943/0.3369, allocations: 1.476 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004079/0.3373, allocations: 108.5 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.3374, allocations: 4 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.02e-05/0.3374, allocations: 7.922 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.3375, allocations: 3.938 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.3378, allocations: 31.89 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.3379, allocations: 39.86 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.338, allocations: 11.98 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.3381, allocations: 19.92 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.3381, allocations: 15.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3382, allocations: 8 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.3382, allocations: 19.98 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.3383, allocations: 11.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.3384, allocations: 27.75 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.3385, allocations: 59.78 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3385, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3385, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3386, allocations: 0 / 1.09 GB, free: 15.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005954/0.3392, allocations: 383.2 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3392, allocations: 8.031 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.3393, allocations: 12.83 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3394, allocations: 173.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3394, allocations: 4.312 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3394, allocations: 384 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.3397, allocations: 78.2 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3397, allocations: 4.188 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3398, allocations: 7.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3398, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3401, allocations: 79.86 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3405, allocations: 284.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3407, allocations: 74.47 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3409, allocations: 40.92 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.3412, allocations: 109.1 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3412, allocations: 38.5 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3412, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005792/0.3418, allocations: 145.5 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3418, allocations: 51.41 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.342, allocations: 129.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.342, allocations: 29.7 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.342, allocations: 96.12 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3421, allocations: 3.953 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.3421, allocations: 13.72 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3422, allocations: 322.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3424, allocations: 31.97 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3425, allocations: 43.89 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3428, allocations: 80.78 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3428, allocations: 3.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003287/0.3432, allocations: 113.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3432, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3432, allocations: 48 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3432, allocations: 7.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3434, allocations: 11.98 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3434, allocations: 3.984 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.3435, allocations: 15.92 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3435, allocations: 0 / 1.092 GB, free: 13.01 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 (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 0.0001114/0.3436, allocations: 129.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3436, allocations: 11.89 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.344, allocations: 113.5 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.344, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3441, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3441, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3443, allocations: 189.6 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3443, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.3444, allocations: 19.97 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3444, allocations: 3.938 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3444, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3444, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3444, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.3448, allocations: 219.3 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.3448, allocations: 81.06 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3449, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.345, allocations: 15.98 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.345, allocations: 7.984 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3451, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.3451, allocations: 101.5 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3451, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002235/0.3454, allocations: 8 kB / 1.093 GB, free: 12.02 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 (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.0001566/0.3455, allocations: 103.8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.3459, allocations: 87.84 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3459, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3461, allocations: 35.97 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3463, allocations: 18.11 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.3467, allocations: 141.4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.347, allocations: 0.6885 MB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.347, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.347, allocations: 11.44 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.347, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.003443/0.3505, allocations: 0.7955 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches