Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_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.004657/0.004657, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001171/0.001171, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8304, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002667/0.8331, allocations: 1.483 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.8335, allocations: 113.8 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.8335, allocations: 1.156 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.8335, allocations: 4.734 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.8336, allocations: 7.469 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.8338, allocations: 18.98 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.978e-05/0.8339, allocations: 43.94 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.834, allocations: 18.86 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/0.8341, allocations: 17.67 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.8342, allocations: 18.95 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.8342, allocations: 4.031 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.938e-05/0.8343, allocations: 19.64 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.8343, allocations: 14.12 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.8343, allocations: 21.92 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.8345, allocations: 60.2 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8345, allocations: 0 / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8345, allocations: 0 / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.8345, allocations: 0 / 1.089 GB, free: 4.051 MB / 0.8575 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.0004905/0.835, allocations: 382.8 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8351, allocations: 13.42 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.8351, allocations: 36.41 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.8352, allocations: 8.016 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.8353, allocations: 170.7 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.8353, allocations: 1.125 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.8353, allocations: 2.375 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.8356, allocations: 82.03 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.8356, allocations: 3.938 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.8356, allocations: 0 / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8356, allocations: 1.375 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.8359, allocations: 80.09 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.8363, allocations: 292.1 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.8365, allocations: 64.28 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.8367, allocations: 49.77 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.8369, allocations: 109.7 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.8369, allocations: 32.09 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8369, allocations: 0 / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005789/0.8375, allocations: 154.6 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.8376, allocations: 53.05 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.8377, allocations: 128.4 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.8377, allocations: 25.7 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.8377, allocations: 92.66 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.8377, allocations: 6.234 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.8378, allocations: 17.03 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.8378, allocations: 323 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.838, allocations: 35.69 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.8382, allocations: 36.09 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.8385, allocations: 87.56 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8385, allocations: 4 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.8388, allocations: 112.8 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8388, allocations: 6.594 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.8388, allocations: 3.984 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.8389, allocations: 0 / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.839, allocations: 16.67 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.839, allocations: 4 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.8391, allocations: 12 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.8391, allocations: 0.625 kB / 1.092 GB, free: 2.086 MB / 0.8575 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 5.916e-05/0.8392, allocations: 119.8 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.8392, allocations: 5.984 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.8396, allocations: 123.9 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8396, allocations: 1.469 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8396, allocations: 0 / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8396, allocations: 4.625 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.8398, allocations: 187.8 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8398, allocations: 0.5625 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.8399, allocations: 16.02 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8399, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.8399, allocations: 0.8438 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.8399, allocations: 9.531 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8399, allocations: 0 / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.8403, allocations: 212.4 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.8404, allocations: 84.66 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.8404, allocations: 0.7188 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.8405, allocations: 14.69 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.8406, allocations: 8.797 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.8406, allocations: 1.375 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.8406, allocations: 96.33 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8406, allocations: 0.6875 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002296/0.8409, allocations: 17.09 kB / 1.092 GB, free: 1.336 MB / 0.8575 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.0006683/0.8415, allocations: 0.7415 MB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.8419, allocations: 88.39 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8419, allocations: 0 / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.8421, allocations: 43.7 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.8424, allocations: 2.578 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.8428, allocations: 182.8 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.8431, allocations: 0.6858 MB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.8432, allocations: 6.516 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.8432, allocations: 19.31 kB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8432, allocations: 4.938 kB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.8612, allocations: 1.873 MB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.306, allocations: 9.797 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches