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.008234/0.008233, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001712/0.001712, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.478/2.478, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 63.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8679/0.8703, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002997/0.8734, allocations: 1.49 MB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.8738, allocations: 111 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.8738, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.8739, allocations: 7.922 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.874, allocations: 7.938 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.8742, allocations: 19.97 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.8743, allocations: 47.8 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.8745, allocations: 15.97 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.8745, allocations: 15.98 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.8746, allocations: 23.86 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.8746, allocations: 4 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.8747, allocations: 15.98 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.8748, allocations: 11.98 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.8748, allocations: 23.88 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.875, allocations: 63.44 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.875, allocations: 4 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.424e-06/0.875, allocations: 0 / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.875, 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.0005689/0.8756, allocations: 375.2 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8756, allocations: 12.92 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.8757, allocations: 42.69 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.8757, allocations: 12.88 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.8759, allocations: 168.3 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.8759, allocations: 4.375 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.8759, allocations: 384 / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.8762, allocations: 78.2 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8762, allocations: 7.875 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.8762, allocations: 0 / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8762, allocations: 0 / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.8765, allocations: 79.92 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.8769, allocations: 284.8 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.8771, allocations: 66.53 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.8773, allocations: 48.91 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.8776, allocations: 109.1 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.8776, allocations: 30.56 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.8776, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005691/0.8782, allocations: 153.5 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.8782, allocations: 51.41 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8783, allocations: 127.3 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.8784, allocations: 25.7 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.8784, allocations: 92.14 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.8785, allocations: 11.89 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.8785, allocations: 21.72 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8786, allocations: 322.8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8788, allocations: 35.95 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.8789, allocations: 36.14 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.8792, allocations: 88.8 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8792, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003382/0.8796, allocations: 113.5 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8796, allocations: 8 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.8796, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8796, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.8798, allocations: 15.97 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8798, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.8799, allocations: 7.984 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.8799, 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 8.341e-05/0.88, allocations: 117.8 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.88, allocations: 4 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.8804, allocations: 129.4 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8804, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8804, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.8804, allocations: 4 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.8806, allocations: 193.5 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8806, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.8807, allocations: 15.98 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8807, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.8807, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8807, allocations: 3.984 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8807, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.8811, allocations: 207.4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.8812, allocations: 89.05 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.8812, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8813, allocations: 11.98 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.8814, allocations: 8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.8814, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.8815, allocations: 100.4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8815, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002395/0.8817, allocations: 15.94 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.0006748/0.8824, allocations: 0.7436 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.8827, allocations: 79.86 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8828, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.8829, allocations: 43.95 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.0002378/0.8832, allocations: 7.938 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.0004622/0.8836, allocations: 179.4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.8839, allocations: 0.6924 MB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.884, allocations: 0 / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.884, allocations: 19.44 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.884, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.9024, allocations: 1.879 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.553, allocations: 4.062 kB / 1.175 GB, free: 10.61 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