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.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.001497/0.001497, allocations: 107.7 kB / 16.45 MB, free: 6.5 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.001608/0.001608, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.907/2.907, allocations: 476.7 MB / 0.7672 GB, free: 5.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002069/0.002069, allocations: 71.91 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.9658, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003046/0.9688, allocations: 1.518 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.9692, allocations: 115.7 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.9692, allocations: 0 / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.329e-05/0.9693, allocations: 3.938 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.9694, allocations: 11.94 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.9696, allocations: 19.97 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.9697, allocations: 43.8 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.9698, allocations: 15.97 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.9699, allocations: 19.92 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.9699, allocations: 19.92 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.9699, allocations: 4 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.97, allocations: 15.98 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.9701, allocations: 15.98 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.9701, allocations: 19.86 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.9703, allocations: 65.56 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9703, allocations: 0 / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9703, allocations: 0 / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.9703, allocations: 0 / 1.28 GB, free: 11.47 MB / 0.9825 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.0006179/0.9709, allocations: 383.1 kB / 1.28 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9709, allocations: 8.031 kB / 1.28 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.971, allocations: 30.75 kB / 1.28 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.971, allocations: 4.938 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.9712, allocations: 186.7 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.9712, allocations: 384 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.9712, allocations: 8.375 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.9715, allocations: 78.14 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.9715, allocations: 3.938 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.9715, allocations: 0 / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.9715, allocations: 4 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.9718, allocations: 71.92 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.9723, allocations: 296.8 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.9725, allocations: 62.53 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.9727, allocations: 40.92 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.9729, allocations: 109.1 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.973, allocations: 34.56 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.973, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006488/0.9736, allocations: 149.5 kB / 1.281 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.9737, allocations: 55.41 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.9738, allocations: 125.8 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.9738, allocations: 29.7 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.9739, allocations: 88.12 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.9739, allocations: 19.94 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.9739, allocations: 9.719 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9741, allocations: 322.8 kB / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.9742, allocations: 31.97 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.9744, allocations: 39.95 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.9747, allocations: 84.72 kB / 1.282 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9747, allocations: 0 / 1.282 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003692/0.9751, allocations: 113.5 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.9751, allocations: 8 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9751, allocations: 4 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9751, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.9752, allocations: 15.98 kB / 1.282 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.9752, allocations: 0 / 1.282 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.9753, allocations: 7.984 kB / 1.282 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.9753, allocations: 4 kB / 1.282 GB, free: 8.836 MB / 0.9825 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.0001043/0.9754, allocations: 121.8 kB / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.9755, allocations: 7.953 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.9759, allocations: 133.7 kB / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9759, allocations: 0 / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9759, allocations: 4 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9759, allocations: 0 / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.9761, allocations: 177.6 kB / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9761, allocations: 0 / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.9762, allocations: 23.97 kB / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9762, allocations: 0 / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.9762, allocations: 0 / 1.283 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9762, allocations: 3.938 kB / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9762, allocations: 4 kB / 1.283 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.9766, allocations: 211.4 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.9767, allocations: 85 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.9767, allocations: 8 kB / 1.283 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9768, allocations: 7.984 kB / 1.283 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.9768, allocations: 7.984 kB / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.9768, allocations: 0 / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.989e-05/0.9769, allocations: 100 kB / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9769, allocations: 0 / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002284/0.9771, allocations: 19.94 kB / 1.283 GB, free: 7.828 MB / 0.9825 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.0007844/0.9779, allocations: 0.7363 MB / 1.284 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.9783, allocations: 87.84 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9783, allocations: 0 / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.9785, allocations: 35.97 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.9787, allocations: 11.98 kB / 1.284 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.9792, allocations: 190.9 kB / 1.284 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.9796, allocations: 0.6846 MB / 1.285 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.9796, allocations: 4 kB / 1.285 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.9797, allocations: 19.42 kB / 1.285 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.9797, allocations: 0 / 1.285 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/1.006, allocations: 1.901 MB / 1.287 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/9.169, allocations: 5.969 kB / 1.287 GB, free: 4.148 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.408536731032655]