Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007743/0.0007743, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008288/0.0008288, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.8942/0.8942, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.79/1.79, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.102e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002775/0.002796, allocations: 1.491 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003224/0.003118, allocations: 115.5 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.003155, allocations: 7.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.003201, allocations: 3.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.003263, allocations: 3.938 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.003531, allocations: 27.91 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003633, allocations: 43.84 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003739, allocations: 11.98 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.003817, allocations: 23.92 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.003868, allocations: 11.98 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.003886, allocations: 8 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.003968, allocations: 23.91 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.004029, allocations: 15.94 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.004058, allocations: 11.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.004229, allocations: 67.78 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004231, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004233, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004237, allocations: 0 / 1.001 GB, free: 11.63 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.0005226/0.00476, allocations: 298.1 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.004805, allocations: 12.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.004848, allocations: 38.73 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.00506, allocations: 20.92 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005168, allocations: 132.3 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005182, allocations: 4.375 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.005193, allocations: 384 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.005409, allocations: 78.2 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.005415, allocations: 4.188 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005424, allocations: 4.375 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.00543, allocations: 8.062 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.00559, allocations: 79.91 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.005934, allocations: 256 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.006068, allocations: 74.53 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.006152, allocations: 44.91 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.006165, allocations: 7.938 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.006183, allocations: 30.56 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.006184, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003277/0.006512, allocations: 161.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.006539, allocations: 51.41 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.006608, allocations: 125.8 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006619, allocations: 25.7 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.00666, allocations: 96.12 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.006679, allocations: 11.89 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.006707, allocations: 13.72 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.006783, allocations: 314.8 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.006997, allocations: 47.89 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.007071, allocations: 43.95 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.007223, allocations: 80.77 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007225, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001817/0.007407, allocations: 129.4 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.007418, allocations: 9.562 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007422, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007433, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.007516, allocations: 15.98 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.007522, allocations: 3.984 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.007563, allocations: 15.98 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007569, allocations: 336 / 1.004 GB, free: 9.242 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 5.574e-05/0.007625, allocations: 113.8 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.00764, allocations: 11.89 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.007663, allocations: 11.98 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.007667, allocations: 3.984 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.007671, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.007673, allocations: 4 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.007792, allocations: 144.7 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.007792, allocations: 0 / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.00784, allocations: 23.92 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007841, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007848, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.007849, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.007851, allocations: 3.984 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.008058, allocations: 216.1 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.008066, allocations: 15.88 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.008077, allocations: 4 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.008134, allocations: 7.984 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.008167, allocations: 7.984 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.008171, allocations: 4 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.00821, allocations: 95.27 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00821, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001558/0.008366, allocations: 8 kB / 1.004 GB, free: 8.504 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.0003737/0.00874, allocations: 0.7508 MB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.008933, allocations: 79.91 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008934, allocations: 0 / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.009014, allocations: 43.97 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.009194, allocations: 10.05 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.009556, allocations: 190.3 kB / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.009603, allocations: 75.27 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.009627, allocations: 4 kB / 1.005 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.009669, allocations: 20.5 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.009669, allocations: 0 / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.02352, allocations: 2.566 MB / 1.008 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.88, allocations: 3.984 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.019883314147592]