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.001925/0.001925, allocations: 109.7 kB / 16.46 MB, free: 6.508 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.002402/0.002402, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.354/3.354, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.002128/0.002128, allocations: 79.55 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3844, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002867/0.3872, allocations: 1.505 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.3876, allocations: 107.7 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.3876, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.3876, allocations: 7.922 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.3877, allocations: 7.938 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3879, allocations: 19.97 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.388, allocations: 47.8 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3881, allocations: 11.98 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.3882, allocations: 19.91 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.3882, allocations: 23.92 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3883, allocations: 7.938 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.3883, allocations: 15.98 kB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3884, allocations: 11.92 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.3884, allocations: 23.86 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.3886, allocations: 60.08 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3886, allocations: 4 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3886, allocations: 0 / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3886, allocations: 3.938 kB / 1.323 GB, free: 1.48 MB / 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.0005877/0.3892, allocations: 375.2 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.3892, allocations: 19.97 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.3893, allocations: 34.69 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3893, allocations: 12.89 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3894, allocations: 183.4 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3894, allocations: 384 / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3895, allocations: 4.375 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.3897, allocations: 74.2 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3897, allocations: 3.938 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3897, allocations: 4 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3898, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3901, allocations: 75.92 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.3905, allocations: 288.8 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.3907, allocations: 66.53 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3909, allocations: 40.92 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.3911, allocations: 105.1 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.3912, allocations: 34.56 kB / 1.324 GB, free: 16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3912, allocations: 0 / 1.324 GB, free: 16 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006261/0.3918, allocations: 153.5 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.3918, allocations: 51.41 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.392, allocations: 125.8 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.392, allocations: 29.7 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3921, allocations: 92.12 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3921, allocations: 11.91 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3922, allocations: 17.72 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3923, allocations: 318.8 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3925, allocations: 35.97 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3926, allocations: 35.95 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3929, allocations: 84.72 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3929, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003453/0.3933, allocations: 109.9 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3933, allocations: 7.984 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3933, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3933, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3934, allocations: 19.86 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3934, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.3935, allocations: 15.92 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3935, allocations: 0 / 1.325 GB, free: 14.84 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.0001016/0.3936, allocations: 121.8 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.3937, allocations: 11.94 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.3941, allocations: 121.5 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3941, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3941, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3941, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3943, allocations: 189.6 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3943, allocations: 0 / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3944, allocations: 27.97 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3944, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3944, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3944, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3944, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3948, allocations: 219.3 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.3948, allocations: 81.06 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3949, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.395, allocations: 15.98 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.395, allocations: 3.984 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.395, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.066e-05/0.3951, allocations: 95.27 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3951, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002265/0.3953, allocations: 12 kB / 1.326 GB, free: 13.84 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.0007669/0.3961, allocations: 0.7397 MB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.3965, allocations: 91.84 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3965, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3966, allocations: 35.97 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3969, allocations: 10.17 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.3974, allocations: 194.8 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3977, allocations: 0.6885 MB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.3977, allocations: 0 / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3978, allocations: 27.36 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3978, allocations: 3.938 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.4243, allocations: 1.889 MB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.467, allocations: 9.422 kB / 1.329 GB, free: 10.16 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.568674934096634]