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.00184/0.00184, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002444/0.002444, allocations: 215.3 kB / 22.25 MB, free: 5.129 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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 3.366/3.366, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002051/0.002051, allocations: 66.33 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3671, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002631/0.3698, allocations: 1.514 MB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003174/0.3701, allocations: 111.7 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.3701, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.3701, allocations: 3.938 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.3702, allocations: 15.91 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.3704, allocations: 15.98 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.3705, allocations: 47.78 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.3706, allocations: 8 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.3707, allocations: 19.92 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.3707, allocations: 23.92 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3707, allocations: 4 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.3708, allocations: 27.97 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.3708, allocations: 8 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.3709, allocations: 31.78 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.371, allocations: 56.03 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.371, allocations: 0 / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.371, allocations: 4 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.371, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 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.0005433/0.3716, allocations: 306 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3716, allocations: 8.031 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.3717, allocations: 42.62 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.3719, allocations: 28.86 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.372, allocations: 118.4 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.372, allocations: 384 / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.372, allocations: 4.375 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3723, allocations: 82.2 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3723, allocations: 3.938 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3723, allocations: 0 / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3723, allocations: 0 / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3726, allocations: 87.84 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.3731, allocations: 275.9 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3733, allocations: 70.52 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3734, allocations: 44.92 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3735, allocations: 3.984 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3735, allocations: 38.5 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3735, allocations: 0 / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005365/0.374, allocations: 157.5 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3741, allocations: 51.41 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3742, allocations: 127.1 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3742, allocations: 25.7 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.3743, allocations: 88.12 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3743, allocations: 19.84 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3743, allocations: 13.72 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3745, allocations: 318.8 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3746, allocations: 39.95 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3748, allocations: 43.95 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.375, allocations: 84.66 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.375, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003367/0.3754, allocations: 121.6 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3754, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3754, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3754, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3755, allocations: 19.97 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3755, allocations: 0 / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.3756, allocations: 19.92 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3756, allocations: 4 kB / 1.357 GB, free: 4.141 MB / 1.045 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.668e-05/0.3757, allocations: 117.8 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.3758, allocations: 7.938 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.3758, allocations: 8 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3758, allocations: 0 / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3758, allocations: 0 / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3758, allocations: 4 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.376, allocations: 164.5 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.376, allocations: 3.984 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3761, allocations: 15.98 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3761, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3761, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3761, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3761, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.3765, allocations: 211.7 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.3765, allocations: 11.94 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3765, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3767, allocations: 11.98 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3767, allocations: 16.02 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.3767, allocations: 7.938 kB / 1.357 GB, free: 3.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.3768, allocations: 102.1 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3768, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002204/0.377, allocations: 12 kB / 1.358 GB, free: 3.391 MB / 1.045 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.0006985/0.3777, allocations: 0.7397 MB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.378, allocations: 83.84 kB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.378, allocations: 0 / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3782, allocations: 39.95 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3784, allocations: 15.98 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.3789, allocations: 191 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3792, allocations: 0.6885 MB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.3793, allocations: 4 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.3794, allocations: 11.44 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3794, allocations: 4 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4087, allocations: 1.985 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.39, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.468979639999816]