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.008403/0.008403, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.00117/0.00117, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.451/2.451, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7875, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002956/0.7905, allocations: 1.497 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003461/0.7908, allocations: 107 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.7909, allocations: 0 / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.791, allocations: 11.92 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.791, allocations: 7.938 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.7913, allocations: 23.91 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.7914, allocations: 43.84 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.7915, allocations: 15.98 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.7915, allocations: 11.98 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.7916, allocations: 27.86 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.7916, allocations: 4 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.7917, allocations: 31.92 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.7918, allocations: 7.984 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.7918, allocations: 19.86 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.792, allocations: 63.45 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.792, allocations: 0 / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.273e-06/0.792, allocations: 0 / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.792, allocations: 0 / 1.168 GB, free: 1.902 MB / 0.8887 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.0005504/0.7925, allocations: 383.1 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7926, allocations: 12.92 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.7926, allocations: 30.75 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.7927, allocations: 8.891 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.7928, allocations: 173.9 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.7928, allocations: 4.375 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.7928, allocations: 4.375 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.7931, allocations: 78.14 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7931, allocations: 3.938 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.7931, allocations: 3.938 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7931, allocations: 8 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.7935, allocations: 71.86 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.7938, allocations: 284.9 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.7941, allocations: 74.47 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.7942, allocations: 40.92 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.7945, allocations: 105.1 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.7946, allocations: 38.56 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.7946, allocations: 3.984 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006088/0.7952, allocations: 149.5 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.7952, allocations: 51.41 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.7954, allocations: 121.8 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.7954, allocations: 33.7 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.7955, allocations: 92.11 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.7955, allocations: 15.91 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.7956, allocations: 17.66 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7957, allocations: 318.8 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.7959, allocations: 31.97 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.7961, allocations: 43.95 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.7964, allocations: 76.72 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7964, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003741/0.7968, allocations: 121.6 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7968, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7968, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7968, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.797, allocations: 19.92 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.797, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.7971, allocations: 15.97 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.7971, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 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.0001015/0.7972, allocations: 121.8 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.7973, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.7977, allocations: 121.5 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7977, allocations: 4 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7977, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.7977, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.7979, allocations: 181.6 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7979, allocations: 7.938 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.7981, allocations: 15.98 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.7981, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.7981, allocations: 7.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7981, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7981, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.7985, allocations: 207.4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.7986, allocations: 85 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.7986, allocations: 7.938 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.7987, allocations: 7.984 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.7988, allocations: 8.406 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.7988, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.7989, allocations: 104.8 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7989, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000253/0.7991, allocations: 12 kB / 1.171 GB, free: 14.27 MB / 0.9044 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.0008493/0.8, allocations: 0.7513 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.8004, allocations: 79.92 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8004, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.8005, allocations: 43.89 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.8008, allocations: 12 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.8013, allocations: 175 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.8016, allocations: 0.6846 MB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.8017, allocations: 7.984 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.8017, allocations: 15.44 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.8017, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.8205, allocations: 1.879 MB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/8.513, allocations: 8.016 kB / 1.175 GB, free: 10.62 MB / 0.9044 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