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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001031/0.001031, allocations: 99.03 kB / 16.02 MB, free: 76 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.001242/0.001242, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6731/0.6735, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001426/0.675, allocations: 1.218 MB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003303/0.6753, allocations: 110.5 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.6753, allocations: 1.156 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.6754, allocations: 3.984 kB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.6755, allocations: 6.406 kB / 0.957 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.6756, allocations: 19.83 kB / 0.957 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.6757, allocations: 37.03 kB / 0.9571 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.6758, allocations: 20.84 kB / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.6759, allocations: 17.64 kB / 0.9571 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.6759, allocations: 17.48 kB / 0.9571 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.676, allocations: 2.438 kB / 0.9571 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.676, allocations: 18.61 kB / 0.9571 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.6761, allocations: 10.08 kB / 0.9571 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.6761, allocations: 45.56 kB / 0.9572 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.6762, allocations: 40.92 kB / 0.9572 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6762, allocations: 1.375 kB / 0.9572 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6762, allocations: 0 / 0.9572 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6763, allocations: 0 / 0.9572 GB, free: 6.445 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.0004605/0.6767, allocations: 383.2 kB / 0.9576 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6768, allocations: 8.594 kB / 0.9576 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.6768, allocations: 8.688 kB / 0.9576 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.6769, allocations: 183.6 kB / 0.9578 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6769, allocations: 5.406 kB / 0.9578 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.6769, allocations: 1.375 kB / 0.9578 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.6772, allocations: 81.41 kB / 0.9579 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6772, allocations: 192 / 0.9579 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6772, allocations: 5.25 kB / 0.9579 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6773, allocations: 0 / 0.9579 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.6776, allocations: 111 kB / 0.958 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.6779, allocations: 277.8 kB / 0.9582 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.6781, allocations: 81.97 kB / 0.9583 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.6783, allocations: 56.75 kB / 0.9584 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.6785, allocations: 110.9 kB / 0.9585 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.6786, allocations: 34.56 kB / 0.9585 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.6786, allocations: 0 / 0.9585 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006029/0.6792, allocations: 179.9 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.6792, allocations: 52.59 kB / 0.9587 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.6793, allocations: 133.4 kB / 0.9589 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.6793, allocations: 25.7 kB / 0.9589 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.6794, allocations: 87.17 kB / 0.959 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.6794, allocations: 17.14 kB / 0.959 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.6794, allocations: 11 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.6795, allocations: 320.2 kB / 0.9593 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.6796, allocations: 50.64 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.6798, allocations: 43.78 kB / 0.9594 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.6801, allocations: 102.3 kB / 0.9595 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6801, allocations: 3.938 kB / 0.9595 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003493/0.6805, allocations: 134.8 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6805, allocations: 9.469 kB / 0.9596 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.6805, allocations: 0 / 0.9596 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6805, allocations: 0 / 0.9596 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.6806, allocations: 24.06 kB / 0.9596 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6807, allocations: 3.984 kB / 0.9597 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.6807, allocations: 23 kB / 0.9597 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6808, allocations: 1.75 kB / 0.9597 GB, free: 4.297 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 5.913e-05/0.6808, allocations: 117.4 kB / 0.9598 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.6809, allocations: 7.719 kB / 0.9598 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.6812, allocations: 147.4 kB / 0.9599 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6813, allocations: 1.375 kB / 0.9599 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6813, allocations: 0 / 0.9599 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.6813, allocations: 0 / 0.9599 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.6814, allocations: 180.7 kB / 0.9601 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6814, allocations: 0 / 0.9601 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.6815, allocations: 23.11 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6815, allocations: 5.312 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.6815, allocations: 4 kB / 0.9601 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6816, allocations: 1.375 kB / 0.9601 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6816, allocations: 0 / 0.9601 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.6819, allocations: 232.1 kB / 0.9604 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.682, allocations: 90.33 kB / 0.9604 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.682, allocations: 5.359 kB / 0.9605 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.6821, allocations: 14.98 kB / 0.9605 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.6821, allocations: 2.75 kB / 0.9605 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6822, allocations: 1.375 kB / 0.9605 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.6822, allocations: 107.6 kB / 0.9606 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6822, allocations: 0 / 0.9606 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002263/0.6824, allocations: 13.62 kB / 0.9606 GB, free: 3.465 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.0001356/0.6826, allocations: 105.1 kB / 0.9607 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.683, allocations: 97.92 kB / 0.9608 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.683, allocations: 1.375 kB / 0.9608 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.6832, allocations: 62.08 kB / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6834, allocations: 12.5 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.6837, allocations: 181.3 kB / 0.961 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.6839, allocations: 0.6915 MB / 0.9617 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.6839, allocations: 9.094 kB / 0.9617 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.6839, allocations: 5.406 kB / 0.9617 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.002277/0.6862, allocations: 0.8839 MB / 0.9626 GB, free: 1.969 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches