Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.00197/0.00197, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002383/0.002383, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.357/3.357, allocations: 0.49 GB / 0.7916 GB, free: 33.24 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.QuadraticLinear,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear",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.002035/0.002035, allocations: 74.41 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002711/0.3936, allocations: 1.509 MB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.3939, allocations: 107.7 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.394, allocations: 0 / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.394, allocations: 3.938 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.3941, allocations: 7.875 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.3943, allocations: 27.95 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.915e-05/0.3944, allocations: 51.78 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.3945, allocations: 8 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.3945, allocations: 19.92 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.3946, allocations: 19.92 kB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3946, allocations: 4 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.3947, allocations: 23.97 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3947, allocations: 15.88 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.3948, allocations: 19.86 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.3949, allocations: 56.08 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3949, allocations: 0 / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3949, allocations: 3.938 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.3949, allocations: 4 kB / 1.323 GB, free: 1.426 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.0006101/0.3956, allocations: 383.1 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3956, allocations: 15.98 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.3956, allocations: 30.75 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.3957, allocations: 8.891 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3958, allocations: 181.9 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3958, allocations: 4.375 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3959, allocations: 8.312 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.3961, allocations: 74.22 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3962, allocations: 3.938 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3962, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3962, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.3965, allocations: 71.92 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3969, allocations: 292.9 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.3972, allocations: 66.47 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.3974, allocations: 44.91 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.3976, allocations: 109.1 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3977, allocations: 34.56 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3977, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006267/0.3983, allocations: 149.5 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3984, allocations: 55.34 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3985, allocations: 128.1 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3985, allocations: 25.7 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.3986, allocations: 92.14 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3986, allocations: 15.83 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3986, allocations: 17.72 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3988, allocations: 314.8 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3989, allocations: 43.95 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3991, allocations: 31.97 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.3994, allocations: 92.98 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3994, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003485/0.3998, allocations: 109.5 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3998, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3998, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3998, allocations: 3.938 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3999, allocations: 27.97 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3999, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4001, allocations: 15.92 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.4001, allocations: 0 / 1.325 GB, free: 14.77 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 9.231e-05/0.4002, allocations: 113.8 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.4002, allocations: 11.95 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.4006, allocations: 125.5 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4006, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4006, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4006, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.4009, allocations: 185.5 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4009, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.4009, allocations: 11.98 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4009, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.401, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.401, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.401, allocations: 3.984 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4014, allocations: 203.4 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.4014, allocations: 85.06 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4015, allocations: 3.984 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4016, allocations: 19.98 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4016, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.4016, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.461e-05/0.4017, allocations: 103.2 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4017, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002418/0.4019, allocations: 8 kB / 1.326 GB, free: 13.79 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.0007987/0.4027, allocations: 0.7435 MB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.4031, allocations: 79.92 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4031, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.4033, allocations: 47.89 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4035, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.4041, allocations: 190.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4045, allocations: 0.6885 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.4045, allocations: 7.938 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.4045, allocations: 19.44 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4045, allocations: 0 / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.4328, allocations: 1.898 MB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.795, allocations: 18.64 kB / 1.329 GB, free: 10.1 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_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_QuadraticLinear.fmu > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.818315740907565]