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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108 kB / 15.61 MB, free: 148 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.001203/0.001204, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.561/2.561, allocations: 437.1 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.5728, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002649/0.5755, allocations: 1.487 MB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.5758, allocations: 112.5 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.5758, allocations: 8 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.5759, allocations: 3.938 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.576, allocations: 7.922 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.5762, allocations: 23.92 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.5763, allocations: 43.84 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.5764, allocations: 8 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.5764, allocations: 19.92 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.5765, allocations: 19.91 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.5765, allocations: 8 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.5766, allocations: 19.98 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.5766, allocations: 19.97 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.5767, allocations: 19.88 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.5768, allocations: 51.81 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5768, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5768, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5768, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 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.0005012/0.5773, allocations: 389.4 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5774, allocations: 12.03 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.5774, allocations: 34.69 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.5774, allocations: 8.844 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5776, allocations: 180.2 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.5776, allocations: 384 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.5776, allocations: 4.375 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.5779, allocations: 74.22 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5779, allocations: 7.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5779, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5779, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.5782, allocations: 75.91 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.5786, allocations: 288.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.5788, allocations: 70.53 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.579, allocations: 40.91 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.5792, allocations: 113.1 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.5792, allocations: 30.56 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5792, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.5798, allocations: 149.4 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.5798, allocations: 55.41 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.5799, allocations: 125.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.58, allocations: 25.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.58, allocations: 92.14 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.58, allocations: 7.891 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.5801, allocations: 17.72 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9e-05/0.5802, allocations: 318.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.5803, allocations: 39.95 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.5805, allocations: 35.95 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.5808, allocations: 84.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5808, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003232/0.5811, allocations: 113.5 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5811, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5811, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5811, allocations: 7.984 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.5813, allocations: 15.98 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5813, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.5814, allocations: 23.92 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5814, allocations: 0 / 1.022 GB, free: 13.98 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 7.272e-05/0.5815, allocations: 117.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.5815, allocations: 11.89 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.5819, allocations: 121.4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5819, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5819, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5819, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.5821, allocations: 181.6 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5821, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.5822, allocations: 19.92 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5822, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5822, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5822, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5822, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.5826, allocations: 215.3 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.5826, allocations: 81.09 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.5826, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.5827, allocations: 15.92 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.5828, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.5828, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.5829, allocations: 103.2 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5829, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002354/0.5831, allocations: 8 kB / 1.022 GB, free: 13 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.0006249/0.5837, allocations: 0.7435 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.5841, allocations: 83.84 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5841, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.5843, allocations: 43.97 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5845, allocations: 1.719 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.585, allocations: 187.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.5852, allocations: 0.6924 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.5852, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.5853, allocations: 23.42 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5853, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.6021, allocations: 1.847 MB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.655, allocations: 5.922 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches