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.001278/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.445/2.445, allocations: 390.2 MB / 0.6646 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8729, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002878/0.8758, allocations: 1.491 MB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.8762, allocations: 111.9 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.8762, allocations: 1.844 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.8763, allocations: 7.938 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.8764, allocations: 9 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.8766, allocations: 25.95 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.8767, allocations: 41.08 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.8769, allocations: 12.73 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.8769, allocations: 19.27 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.877, allocations: 17.39 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.877, allocations: 8.125 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.8771, allocations: 19.8 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.8772, allocations: 14.64 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.8772, allocations: 24.17 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.8774, allocations: 59.8 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8774, allocations: 0 / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8774, allocations: 1.625 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.8774, allocations: 0 / 0.9514 GB, free: 7.785 MB / 0.7169 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.0005823/0.878, allocations: 383.6 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.878, allocations: 10.25 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.8781, allocations: 3.531 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.8782, allocations: 175.9 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.8782, allocations: 1.656 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.8783, allocations: 2.906 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.8785, allocations: 78.48 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.8786, allocations: 1.469 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.8786, allocations: 3.938 kB / 0.952 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.8786, allocations: 5.281 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.8789, allocations: 74.92 kB / 0.9521 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.8793, allocations: 281.2 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.8795, allocations: 76.06 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.8797, allocations: 44.17 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.88, allocations: 106.8 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.88, allocations: 35.47 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.88, allocations: 0 / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005801/0.8806, allocations: 150.3 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.8806, allocations: 52.62 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.8807, allocations: 129.8 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.8808, allocations: 25.7 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.8808, allocations: 94.94 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.8808, allocations: 5.281 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.8809, allocations: 16.56 kB / 0.9531 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.881, allocations: 320.2 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8811, allocations: 37.69 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.8813, allocations: 40.8 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.8815, allocations: 79.69 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8816, allocations: 3.938 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003255/0.8819, allocations: 118.7 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.8819, allocations: 4.281 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8819, allocations: 1.156 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8819, allocations: 0 / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.8821, allocations: 19.08 kB / 0.9537 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8821, allocations: 0 / 0.9537 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.8822, allocations: 18.53 kB / 0.9537 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.8822, allocations: 1.156 kB / 0.9537 GB, free: 5.652 MB / 0.7169 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 7.249e-05/0.8823, allocations: 122 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.8823, allocations: 6.25 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.8827, allocations: 118.3 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8827, allocations: 0 / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8827, allocations: 0 / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8827, allocations: 5.219 kB / 0.9539 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.8828, allocations: 188.6 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8828, allocations: 0 / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.8829, allocations: 13.77 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8829, allocations: 1.312 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.883, allocations: 3.938 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.883, allocations: 0 / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.883, allocations: 1.625 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.8833, allocations: 211.7 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.8834, allocations: 79.67 kB / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.8834, allocations: 0 / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.8835, allocations: 11.45 kB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.8835, allocations: 9.797 kB / 0.9544 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8836, allocations: 1.281 kB / 0.9544 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.8836, allocations: 102.5 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8836, allocations: 1.375 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.8838, allocations: 8.375 kB / 0.9545 GB, free: 4.844 MB / 0.7169 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.0001623/0.884, allocations: 110.2 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.8844, allocations: 86.98 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8844, allocations: 3.938 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.8846, allocations: 40.89 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.8848, allocations: 10.22 kB / 0.9548 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.8852, allocations: 151.8 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.8853, allocations: 0.691 MB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.8854, allocations: 1.156 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.8854, allocations: 9.875 kB / 0.9556 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8854, allocations: 3.938 kB / 0.9556 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.003519/0.8889, allocations: 0.7955 MB / 0.9564 GB, free: 3.422 MB / 0.7169 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