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.002003/0.002003, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002665/0.002665, allocations: 214.8 kB / 22.25 MB, free: 5.242 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.785 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.863/2.863, allocations: 476 MB / 0.7699 GB, free: 4.711 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.002161/0.002161, allocations: 66.14 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003179/0.3965, allocations: 1.503 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003964/0.3969, allocations: 107.6 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.397, allocations: 0 / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.397, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.3971, allocations: 11.92 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3973, allocations: 19.97 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.3974, allocations: 39.86 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3975, allocations: 15.92 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.3976, allocations: 15.98 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.3976, allocations: 19.86 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3977, allocations: 8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.3977, allocations: 19.98 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3978, allocations: 15.97 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.3978, allocations: 15.88 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.398, allocations: 55.33 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.398, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.398, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.398, allocations: 0 / 1.284 GB, free: 10.61 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.0005742/0.3986, allocations: 310 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.3986, allocations: 8.031 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3987, allocations: 34.75 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3987, allocations: 4.938 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3988, allocations: 130.3 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3988, allocations: 8.375 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3989, allocations: 4.375 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3991, allocations: 70.22 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3991, allocations: 3.938 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3991, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3991, allocations: 4 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.3994, allocations: 75.91 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.3999, allocations: 255.9 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.4001, allocations: 62.53 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4003, allocations: 44.92 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.4005, allocations: 27.97 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4005, allocations: 34.56 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4005, allocations: 0 / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005745/0.4011, allocations: 153.6 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4011, allocations: 51.41 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4013, allocations: 125.8 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4013, allocations: 29.7 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.4014, allocations: 92.12 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.4014, allocations: 7.953 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.4014, allocations: 17.66 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4016, allocations: 322.8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4017, allocations: 35.97 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.4019, allocations: 39.98 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4022, allocations: 80.72 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4022, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003456/0.4025, allocations: 121.5 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4025, allocations: 10.19 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4025, allocations: 3.984 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4026, allocations: 0 / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4027, allocations: 11.98 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4027, allocations: 4 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.4028, allocations: 11.92 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4028, allocations: 8 kB / 1.286 GB, free: 8.258 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 9.458e-05/0.4029, allocations: 121.8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.4029, allocations: 3.953 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.4033, allocations: 121.5 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4033, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4033, allocations: 4 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4033, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.4035, allocations: 144.7 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4035, allocations: 4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.4036, allocations: 11.98 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4036, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4036, allocations: 4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4036, allocations: 4 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4036, allocations: 3.984 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.404, allocations: 207.4 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.404, allocations: 7.953 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.404, allocations: 7.922 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4041, allocations: 11.98 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.4042, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.4042, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.4042, allocations: 108.9 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4042, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002288/0.4045, allocations: 8 kB / 1.287 GB, free: 7.414 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.0007546/0.4052, allocations: 0.7397 MB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.4056, allocations: 76.14 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.4056, allocations: 8 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4057, allocations: 44.05 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.406, allocations: 3.938 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.4065, allocations: 202.9 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.4066, allocations: 71.33 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.4066, allocations: 8 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.4067, allocations: 15.44 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4067, allocations: 0 / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.4356, allocations: 2.441 MB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 14.72 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB " [Timeout remaining time 287] (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: 19.04530953709036]