Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic",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.005009/0.005009, allocations: 101 kB / 15.73 MB, free: 6.055 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.001319/0.001319, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.624/2.624, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7723, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003023/0.7754, allocations: 1.49 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.7757, allocations: 107 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.7758, allocations: 4 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.7759, allocations: 7.922 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.7759, allocations: 11.86 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.7762, allocations: 19.97 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.7763, allocations: 43.86 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.7764, allocations: 11.98 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.7764, allocations: 19.98 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.7765, allocations: 23.86 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.7765, allocations: 4 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.7766, allocations: 27.92 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.7767, allocations: 15.97 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.7767, allocations: 15.88 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.7769, allocations: 58.47 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7769, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7769, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.7769, allocations: 0 / 1.168 GB, free: 1.91 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.0006005/0.7775, allocations: 384.1 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7775, allocations: 8.922 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.7776, allocations: 34.73 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.7776, allocations: 8.891 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.7778, allocations: 173.6 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.7778, allocations: 4.375 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.7778, allocations: 4.375 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.7781, allocations: 82.14 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7781, allocations: 3.938 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.7781, allocations: 3.938 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.7782, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.7785, allocations: 75.92 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.7789, allocations: 292.8 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.7791, allocations: 70.47 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.7793, allocations: 40.92 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.7795, allocations: 113.1 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.7796, allocations: 30.56 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7796, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006003/0.7802, allocations: 153.5 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.7802, allocations: 51.41 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.7804, allocations: 127 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/0.7804, allocations: 25.7 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.7805, allocations: 88.14 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.7806, allocations: 19.83 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.7806, allocations: 17.66 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.7808, allocations: 314.8 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.781, allocations: 39.95 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.7811, allocations: 39.95 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.7814, allocations: 84.98 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7815, allocations: 4 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000341/0.7818, allocations: 109.6 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7818, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.7818, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.7819, allocations: 3.984 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.782, allocations: 23.92 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.782, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.7821, allocations: 15.98 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7821, 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 9.383e-05/0.7822, allocations: 117.8 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.7822, allocations: 7.984 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.7826, allocations: 121.5 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7827, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7827, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7827, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.7829, allocations: 181.6 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7829, allocations: 3.938 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.783, allocations: 11.98 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.783, allocations: 7.922 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.783, allocations: 8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.783, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.783, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.7834, allocations: 199.4 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.7835, allocations: 89.05 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.7835, allocations: 4 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.7836, allocations: 11.98 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.7837, allocations: 4 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.7837, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.7838, allocations: 104.9 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7838, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002307/0.784, allocations: 15.94 kB / 1.171 GB, free: 14.28 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.0007447/0.7848, allocations: 0.7474 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.7851, allocations: 75.92 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.7852, allocations: 4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.7853, 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.0002486/0.7856, allocations: 11.94 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.7861, allocations: 179 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.7864, allocations: 0.6846 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.7865, allocations: 8.375 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.7865, allocations: 15.42 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.7865, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.8098, allocations: 1.878 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.781, allocations: 0 / 1.175 GB, free: 10.62 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_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_Biquadratic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches