Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008973/0.0008973, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001398/0.001398, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9229/0.9229, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.815/1.815, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.969e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001978/0.001998, allocations: 1.506 MB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.002272, allocations: 107.6 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.002304, allocations: 0 / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/0.002346, allocations: 3.938 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.002409, allocations: 27.84 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.002626, allocations: 11.98 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.00271, allocations: 47.84 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.002802, allocations: 4 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.002866, allocations: 23.97 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.002912, allocations: 23.91 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.00293, allocations: 4 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.002997, allocations: 23.92 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.003046, allocations: 11.92 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.003068, allocations: 12 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.003202, allocations: 71.72 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003204, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003205, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.00321, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 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.0003788/0.003589, allocations: 310.1 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.003629, allocations: 13.34 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.003662, allocations: 30.75 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.003844, allocations: 28.91 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.003944, allocations: 117.6 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.003959, allocations: 4.375 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.003969, allocations: 384 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.004137, allocations: 78.2 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004145, allocations: 192 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.004156, allocations: 384 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.004163, allocations: 4.125 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.004326, allocations: 87.84 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.004657, allocations: 256 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.00479, allocations: 70.45 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.004878, allocations: 52.91 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.004888, allocations: 3.938 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.004905, allocations: 34.5 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.004906, allocations: 0 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003211/0.005227, allocations: 161.5 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.005255, allocations: 51.41 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.005331, allocations: 129.8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.005341, allocations: 25.7 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.005384, allocations: 92.97 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.005401, allocations: 7.891 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.005432, allocations: 21.7 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.005514, allocations: 314.8 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.005597, allocations: 39.95 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.005672, allocations: 43.95 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.005822, allocations: 88.72 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005824, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001869/0.006011, allocations: 125.8 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.006025, allocations: 10.19 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006031, allocations: 0 / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.006041, allocations: 0 / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.006129, allocations: 15.98 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006134, allocations: 0 / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.006175, allocations: 11.98 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.00618, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 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 6.318e-05/0.006244, allocations: 120.5 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.006259, allocations: 11.89 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.006282, allocations: 16 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006284, allocations: 0 / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.006288, allocations: 0 / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006291, allocations: 3.938 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.006416, allocations: 144.7 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006418, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.00647, allocations: 23.91 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006471, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.006479, allocations: 4 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.00648, allocations: 0 / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.006481, allocations: 8 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.006695, allocations: 207.4 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.006704, allocations: 11.89 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.006715, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.006772, allocations: 15.97 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.006808, allocations: 7.938 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.006811, allocations: 4 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.006852, allocations: 102.3 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006852, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001533/0.007005, allocations: 15.94 kB / 1.005 GB, free: 8.52 MB / 0.9636 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.0004137/0.007419, allocations: 0.7319 MB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.007624, allocations: 91.91 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007625, allocations: 0 / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.007706, allocations: 43.89 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.007888, allocations: 11.38 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.008281, allocations: 178.5 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.008335, allocations: 79.27 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.008363, allocations: 0 / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.008411, allocations: 24.48 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of SimCode: time 9.82e-07/0.008412, allocations: 0 / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.08554, allocations: 2.566 MB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.84, allocations: 10.41 kB / 1.009 GB, free: 4.848 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.459358180873096]