Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.88 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7598, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002587/0.7624, allocations: 1.524 MB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002787/0.7627, allocations: 103.5 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.7627, allocations: 0.6562 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.7627, allocations: 6.797 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.7628, allocations: 6.578 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.763, allocations: 24.86 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.868e-05/0.763, allocations: 43.44 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.7631, allocations: 13.22 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.7632, allocations: 17.12 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.7632, allocations: 27.58 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.7632, allocations: 3.375 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.7633, allocations: 19.73 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.7633, allocations: 14.33 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.7634, allocations: 19.14 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.7635, allocations: 61.95 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7635, allocations: 0 / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7635, allocations: 0.9375 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7635, allocations: 0 / 1.273 GB, free: 6.473 MB / 0.9981 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.0004094/0.7639, allocations: 381.3 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.7639, allocations: 9.594 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.764, allocations: 36.25 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.764, allocations: 8.812 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.182e-05/0.7641, allocations: 169.8 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.7641, allocations: 1.156 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.7641, allocations: 5.938 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.7643, allocations: 81.5 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7643, allocations: 4.75 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.7643, allocations: 0.5625 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.7643, allocations: 0.875 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.7646, allocations: 76.92 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.7649, allocations: 296.8 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.7651, allocations: 62.61 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.7652, allocations: 45.92 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.7654, allocations: 108.1 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.7654, allocations: 37.59 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7654, allocations: 0 / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005103/0.7659, allocations: 142.4 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.766, allocations: 57.02 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.766, allocations: 129.1 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.766, allocations: 25.7 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.7661, allocations: 97.31 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.7661, allocations: 10.5 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.7661, allocations: 13.58 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.7661, allocations: 318.6 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.7663, allocations: 42.61 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.7664, allocations: 37 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.7667, allocations: 84.5 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7667, allocations: 0 / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003065/0.767, allocations: 111.6 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.767, allocations: 5.875 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.767, allocations: 3.984 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.767, allocations: 0.625 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7671, allocations: 15.84 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.7671, allocations: 4.812 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.7672, allocations: 15.67 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.7672, allocations: 4.875 kB / 1.276 GB, free: 4.504 MB / 0.9981 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 4.399e-05/0.7673, allocations: 119.9 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.7673, allocations: 7.203 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.7676, allocations: 123.8 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.7676, allocations: 0 / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.7676, allocations: 0.7812 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7676, allocations: 0 / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7678, allocations: 184.6 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7678, allocations: 0 / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.7679, allocations: 15.16 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7679, allocations: 5.094 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.7679, allocations: 1.609 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7679, allocations: 3.938 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7679, allocations: 4 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.7682, allocations: 209.3 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.7682, allocations: 80.55 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.7682, allocations: 4.75 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7683, allocations: 15.02 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.7684, allocations: 3.906 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.7684, allocations: 0.8438 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.7684, allocations: 104.3 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7684, allocations: 0 / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002163/0.7686, allocations: 12.81 kB / 1.276 GB, free: 3.766 MB / 0.9981 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.0004855/0.7691, allocations: 0.7464 MB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.7694, allocations: 84.64 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7694, allocations: 4 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.7696, allocations: 41.22 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.7698, allocations: 12.38 kB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.7702, allocations: 184.3 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.735e-05/0.7703, allocations: 0.686 MB / 1.278 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.7703, allocations: 5.938 kB / 1.278 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.7704, allocations: 19.08 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.7704, allocations: 0 / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.7923, allocations: 1.861 MB / 1.28 GB, free: 17.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.858, allocations: 6.266 kB / 1.28 GB, free: 17.78 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.19319763599924]