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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.754, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002148/0.7562, allocations: 1.514 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.7564, allocations: 113.8 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.7564, allocations: 0 / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.7565, allocations: 7.875 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.7565, allocations: 10.78 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.7567, allocations: 19.91 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.7568, allocations: 39.8 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.7569, allocations: 13.27 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.7569, allocations: 21.3 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.757, allocations: 27.42 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.757, allocations: 8.312 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.757, allocations: 20.02 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.7571, allocations: 10.47 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.7571, allocations: 18.48 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.7572, allocations: 63.53 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7572, allocations: 1.438 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7572, allocations: 0 / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7572, allocations: 0 / 1.273 GB, free: 6.496 MB / 0.9981 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.0004189/0.7577, allocations: 381.8 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7577, allocations: 13.25 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.7577, allocations: 36.39 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.7577, allocations: 7.859 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.7578, allocations: 174 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-06/0.7578, allocations: 5.625 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.7578, allocations: 3.016 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.7581, allocations: 81.12 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7581, allocations: 4.844 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.7581, allocations: 0 / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7581, allocations: 0.875 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.7584, allocations: 72.67 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.7586, allocations: 295.6 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.7588, allocations: 67.66 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.7589, allocations: 40.55 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.7591, allocations: 111.1 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.7591, allocations: 33.42 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7591, allocations: 0 / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005132/0.7597, allocations: 147.4 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.7597, allocations: 51.41 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.7597, allocations: 133 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.7597, allocations: 25.7 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.7598, allocations: 95.98 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.7598, allocations: 7.219 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.7598, allocations: 15.88 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.7598, allocations: 315.8 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.76, allocations: 46.2 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.7601, allocations: 33.23 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.7604, allocations: 83.67 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7604, allocations: 4 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002898/0.7607, allocations: 108.5 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7607, allocations: 5.094 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.7607, allocations: 1 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.7607, allocations: 1.078 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7608, allocations: 23.39 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.7608, allocations: 4 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.7609, allocations: 12.28 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.7609, allocations: 1.25 kB / 1.276 GB, free: 4.535 MB / 0.9981 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 4.38e-05/0.7609, allocations: 116.4 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.7609, allocations: 10.2 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.7613, allocations: 118.8 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7613, allocations: 3.25 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7613, allocations: 0 / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7613, allocations: 4.75 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.7614, allocations: 178.4 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7614, allocations: 1.094 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.717e-05/0.7615, allocations: 22.67 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7615, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.7615, allocations: 6.297 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7615, allocations: 0 / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7615, allocations: 4 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.7618, allocations: 208.3 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.7618, allocations: 84.02 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.7619, allocations: 0.8438 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.762, allocations: 20.44 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.762, allocations: 3.859 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.762, allocations: 0.9375 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.762, allocations: 99.88 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.762, allocations: 0.7188 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002117/0.7622, allocations: 9.781 kB / 1.276 GB, free: 3.797 MB / 0.9981 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.0004733/0.7627, allocations: 0.7505 MB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.763, allocations: 76.23 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.763, allocations: 4 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.7632, allocations: 47.42 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.7634, allocations: 5.891 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.7638, allocations: 189.8 kB / 1.277 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.12e-05/0.7639, allocations: 0.6853 MB / 1.278 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.7639, allocations: 5.906 kB / 1.278 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.7639, allocations: 23.53 kB / 1.278 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.7639, allocations: 0.9062 kB / 1.278 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.7871, allocations: 1.871 MB / 1.28 GB, free: 17.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.855, allocations: 1.406 kB / 1.28 GB, free: 17.8 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.242303753002489]