Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 215.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 70.33 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.408, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003409/0.4114, allocations: 1.509 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003873/0.4118, allocations: 107.7 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.4118, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.4119, allocations: 3.984 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.4119, allocations: 19.8 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.4122, allocations: 19.97 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.4123, allocations: 43.8 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.4125, allocations: 11.98 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.4126, allocations: 15.94 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.4126, allocations: 23.91 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4127, allocations: 8 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.4127, allocations: 19.98 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.4128, allocations: 19.91 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.4128, allocations: 19.88 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.413, allocations: 56.03 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.413, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.194e-06/0.413, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.413, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 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.0006893/0.4137, allocations: 306 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4138, allocations: 8.031 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.4138, allocations: 34.75 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.4138, allocations: 4.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.414, allocations: 137.5 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.414, allocations: 4.375 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.414, allocations: 384 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.4143, allocations: 74.22 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4143, allocations: 11.94 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4144, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4144, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.4146, allocations: 71.92 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.4151, allocations: 259.9 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4153, allocations: 66.53 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4155, allocations: 44.91 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.4157, allocations: 23.98 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.4157, allocations: 38.56 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4157, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005742/0.4163, allocations: 149.5 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4163, allocations: 55.39 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4165, allocations: 129.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.4165, allocations: 29.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.4166, allocations: 92.12 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4167, allocations: 11.91 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.4167, allocations: 13.72 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002556/0.417, allocations: 318.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4172, allocations: 39.97 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.4173, allocations: 35.95 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4176, allocations: 80.72 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003275/0.4179, allocations: 125.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4179, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4179, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4179, allocations: 4.031 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4181, allocations: 15.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4181, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.4181, allocations: 15.92 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4181, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 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 0.0001157/0.4183, allocations: 123.4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.4183, allocations: 7.953 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.4187, allocations: 121.5 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4187, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4187, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4187, allocations: 3.984 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.4189, allocations: 148.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4189, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.419, allocations: 19.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.419, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.419, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.419, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.419, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.4194, allocations: 215.4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.4194, allocations: 3.953 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4194, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4195, allocations: 15.98 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.4196, allocations: 7.922 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4196, allocations: 8 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.4197, allocations: 99.27 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4197, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002303/0.4199, allocations: 8 kB / 1.331 GB, free: 12.85 MB / 1.029 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.0008931/0.4208, allocations: 0.7397 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.4212, allocations: 87.84 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4212, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4213, allocations: 39.97 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4216, allocations: 13.55 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.4222, allocations: 190.9 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4226, allocations: 0.6884 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.4226, allocations: 3.984 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.4226, allocations: 23.44 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4226, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.4533, allocations: 2.002 MB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.28, allocations: 2.406 kB / 1.334 GB, free: 9.117 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.550517727002443]