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.001096/0.001096, allocations: 108 kB / 15.61 MB, free: 152 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.001365/0.001365, allocations: 196.6 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.564/2.564, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5497, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002583/0.5523, allocations: 1.486 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.5526, allocations: 104.6 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.5527, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.5527, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.5528, allocations: 19.86 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.5529, allocations: 11.98 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.553, allocations: 59.77 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.5531, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.5532, allocations: 11.98 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.5532, allocations: 31.86 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.5532, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.5533, allocations: 19.98 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.5533, allocations: 7.984 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.5534, allocations: 31.86 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.5535, allocations: 47.8 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5535, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5535, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5535, allocations: 4 kB / 1.019 GB, free: 0.6484 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.0004787/0.554, allocations: 381.4 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5541, allocations: 12.03 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.5541, allocations: 30.75 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.5541, allocations: 12.84 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5542, allocations: 176.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.5543, allocations: 4.359 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.5543, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.5545, allocations: 82.16 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5546, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.5546, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.5546, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.5549, allocations: 71.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.5552, allocations: 288.9 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.5554, allocations: 74.41 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.5556, allocations: 44.91 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.5558, allocations: 109.1 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.5559, allocations: 30.56 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.5559, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005693/0.5564, allocations: 153.5 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5565, allocations: 55.41 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.5566, allocations: 121.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5566, allocations: 29.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.5566, allocations: 96.11 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.5567, allocations: 11.84 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.5567, allocations: 13.72 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.5568, allocations: 318.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.557, allocations: 39.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.5571, allocations: 39.95 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.5574, allocations: 81 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5574, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003319/0.5578, allocations: 117.5 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5578, allocations: 8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.5578, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5578, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5579, allocations: 15.92 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5579, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.558, allocations: 15.92 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.558, allocations: 7.984 kB / 1.022 GB, free: 13.99 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.132e-05/0.5581, allocations: 117.8 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.5582, allocations: 3.906 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.5585, allocations: 117.5 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5585, allocations: 3.984 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5586, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5586, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.5587, allocations: 181.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5588, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.5589, allocations: 15.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5589, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.5589, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5589, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5589, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.5593, allocations: 211.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.5593, allocations: 77.11 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.5593, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5594, allocations: 11.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.5595, allocations: 11.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5595, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.5595, allocations: 95.27 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5596, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002225/0.5598, allocations: 11.94 kB / 1.022 GB, free: 13.03 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.0006292/0.5604, allocations: 0.7513 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.5608, allocations: 75.91 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5608, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.561, allocations: 51.89 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5612, allocations: 4 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.0004435/0.5616, allocations: 191.2 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.5619, allocations: 0.6846 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.5619, allocations: 3.984 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.5619, allocations: 19.44 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5619, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.5803, allocations: 1.828 MB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.591, allocations: 17.55 kB / 1.026 GB, free: 9.375 MB / 0.7794 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