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.001083/0.001084, allocations: 91.45 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.01373/0.01373, allocations: 171.8 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.571/2.571, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9037/0.9041, allocations: 142.4 MB / 0.955 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001824/0.9059, allocations: 1.21 MB / 0.9562 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.9064, allocations: 110.5 kB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.9064, allocations: 4.969 kB / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.9065, allocations: 0 / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.9066, allocations: 10.33 kB / 0.9563 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.9068, allocations: 19.17 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.9069, allocations: 37.7 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.907, allocations: 12.8 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.907, allocations: 21.41 kB / 0.9564 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.9071, allocations: 17.89 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.9071, allocations: 6.719 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.9072, allocations: 17.17 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.9073, allocations: 11.67 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.9073, allocations: 41.14 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.9075, allocations: 59.84 kB / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9075, allocations: 0 / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9075, allocations: 0.9375 kB / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9075, allocations: 0 / 0.9566 GB, free: 6.578 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.000558/0.9081, allocations: 383.8 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9081, allocations: 9 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.9081, allocations: 7.062 kB / 0.957 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.9083, allocations: 176.6 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.9083, allocations: 5.375 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.9083, allocations: 2.5 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.9086, allocations: 88.64 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.9086, allocations: 1.219 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.9086, allocations: 3.938 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.9086, allocations: 1.125 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.909, allocations: 94.89 kB / 0.9573 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.9093, allocations: 289.5 kB / 0.9576 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.9096, allocations: 77.31 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.9097, allocations: 53.39 kB / 0.9577 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.91, allocations: 105.8 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.91, allocations: 39.75 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.91, allocations: 4 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006079/0.9106, allocations: 180.8 kB / 0.958 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.9107, allocations: 55.39 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.9108, allocations: 122.1 kB / 0.9582 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.9108, allocations: 29.7 kB / 0.9582 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.9108, allocations: 95.91 kB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.9109, allocations: 11.81 kB / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.9109, allocations: 11.56 kB / 0.9583 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.9109, allocations: 320.6 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.9111, allocations: 45.81 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.9113, allocations: 55.53 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.9116, allocations: 98.19 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9116, allocations: 5.375 kB / 0.9588 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003377/0.9119, allocations: 137.3 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.912, allocations: 5.844 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.912, allocations: 1.375 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.912, allocations: 4 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.9121, allocations: 23.11 kB / 0.959 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.9121, allocations: 1.375 kB / 0.959 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.9122, allocations: 18.92 kB / 0.959 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.9122, allocations: 1.375 kB / 0.959 GB, free: 4.434 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 6.782e-05/0.9123, allocations: 121.9 kB / 0.9591 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.9123, allocations: 10.66 kB / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.9127, allocations: 140.8 kB / 0.9593 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9127, allocations: 0 / 0.9593 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9127, allocations: 1.375 kB / 0.9593 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.9128, allocations: 0 / 0.9593 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.9129, allocations: 183.3 kB / 0.9595 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9129, allocations: 1.375 kB / 0.9595 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.863e-05/0.913, allocations: 27.09 kB / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.913, allocations: 0 / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.913, allocations: 1.375 kB / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.913, allocations: 0 / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.913, allocations: 0 / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.9134, allocations: 233.4 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.9134, allocations: 82.39 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.9135, allocations: 0 / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9136, allocations: 24.36 kB / 0.9598 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.9137, allocations: 9.297 kB / 0.9598 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.9137, allocations: 1.375 kB / 0.9598 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.9137, allocations: 100.1 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9137, allocations: 0 / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002266/0.914, allocations: 13.62 kB / 0.9599 GB, free: 3.605 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.0001454/0.9141, allocations: 110.4 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.9145, allocations: 101.9 kB / 0.9601 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9145, allocations: 0 / 0.9601 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.9147, allocations: 50.33 kB / 0.9602 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.9149, allocations: 14.62 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.9153, allocations: 160 kB / 0.9603 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.9154, allocations: 0.6832 MB / 0.961 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.9155, allocations: 5.922 kB / 0.961 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.9155, allocations: 16.62 kB / 0.961 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.9155, allocations: 0.875 kB / 0.961 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.003164/0.9187, allocations: 0.6566 MB / 0.9617 GB, free: 2.242 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