Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001712/0.001712, 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.001964/0.001964, 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.554/1.554, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.823/2.823, allocations: 476.7 MB / 0.7672 GB, free: 5.348 MB / 0.6231 GB " [Timeout remaining time 177] 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.QuadraticLinear,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_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.003418/0.003418, allocations: 71.91 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9366, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00364/0.9402, allocations: 1.51 MB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.9406, allocations: 119.7 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.9406, allocations: 4 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.9407, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.9407, allocations: 15.86 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.941, allocations: 19.97 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.9411, allocations: 51.78 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.9412, allocations: 4 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.9413, allocations: 19.92 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.9413, allocations: 19.92 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.9413, allocations: 4 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.9414, allocations: 23.98 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.9415, allocations: 7.984 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.9415, allocations: 31.78 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.9417, allocations: 57.64 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9417, allocations: 0 / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9417, allocations: 3.938 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.9417, allocations: 0 / 1.28 GB, free: 11.5 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.000607/0.9423, allocations: 379.1 kB / 1.28 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.9423, allocations: 12.03 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.9424, allocations: 38.69 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.9424, allocations: 4.938 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.9426, allocations: 188.1 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.9426, allocations: 384 / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.9426, allocations: 4.375 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.9429, allocations: 70.22 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9429, allocations: 3.938 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.9429, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.9429, allocations: 8 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.9432, allocations: 71.92 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.9436, allocations: 284.8 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.9439, allocations: 70.53 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.944, allocations: 44.91 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.9443, allocations: 109.1 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.9443, allocations: 34.56 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9443, allocations: 0 / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005953/0.9449, allocations: 145.5 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.945, allocations: 59.41 kB / 1.282 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.9451, allocations: 123 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.9451, allocations: 29.7 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.9452, allocations: 92.14 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.9452, allocations: 7.953 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.9452, allocations: 13.7 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9454, allocations: 318.8 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.9455, allocations: 35.95 kB / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.9457, allocations: 35.97 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.946, allocations: 84.72 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.946, allocations: 0 / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003482/0.9463, allocations: 117.8 kB / 1.282 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9463, allocations: 8 kB / 1.282 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.9463, allocations: 0 / 1.282 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9463, allocations: 0 / 1.282 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.9465, allocations: 16.02 kB / 1.282 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.9465, allocations: 0 / 1.282 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.9466, allocations: 15.97 kB / 1.282 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.9466, allocations: 0 / 1.282 GB, free: 8.871 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 8.998e-05/0.9467, allocations: 125.7 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.9467, allocations: 7.953 kB / 1.283 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.9471, allocations: 125.4 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.9471, allocations: 0 / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9471, allocations: 0 / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.9471, allocations: 0 / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.9473, allocations: 189.6 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9473, allocations: 4 kB / 1.283 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.9474, allocations: 15.98 kB / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9474, allocations: 0 / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.9474, allocations: 0 / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9474, allocations: 0 / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9474, allocations: 0 / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.9478, allocations: 215.4 kB / 1.283 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.9479, allocations: 85 kB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.9479, allocations: 0 / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.948, allocations: 15.97 kB / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.948, allocations: 11.94 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.9481, allocations: 0 / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.9481, allocations: 99.14 kB / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9481, allocations: 4 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000232/0.9483, allocations: 8 kB / 1.283 GB, free: 7.875 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.0007465/0.9491, allocations: 0.7519 MB / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.9495, allocations: 75.86 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9495, allocations: 0 / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.9496, allocations: 39.95 kB / 1.284 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.9499, allocations: 13.88 kB / 1.284 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.9504, allocations: 190.9 kB / 1.284 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.9508, allocations: 0.6846 MB / 1.285 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.9508, allocations: 4 kB / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.9508, allocations: 15.44 kB / 1.285 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.9508, allocations: 0 / 1.285 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.9765, allocations: 1.919 MB / 1.287 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/9.115, allocations: 7.531 kB / 1.287 GB, free: 4.18 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.401046725921333]