Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001619/0.001619, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001649/0.001649, allocations: 225.3 kB / 22.25 MB, free: 5.258 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_12_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.002188/0.002188, allocations: 77.09 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3825, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003079/0.3855, allocations: 1.508 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.3859, allocations: 107.7 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3859, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.386, allocations: 7.922 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.386, allocations: 7.875 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.3863, allocations: 23.97 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.3864, allocations: 39.75 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3865, allocations: 15.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.3865, allocations: 19.94 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.3866, allocations: 27.89 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3866, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.3867, allocations: 19.98 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.3868, allocations: 11.98 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.3868, allocations: 15.88 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3869, allocations: 60.02 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3869, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3869, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3869, allocations: 3.984 kB / 1.328 GB, free: 15.59 MB / 1.029 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.0005898/0.3875, allocations: 306 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3876, allocations: 8.031 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.3876, allocations: 30.75 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3877, allocations: 8.938 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3878, allocations: 128.1 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3878, allocations: 4.375 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3878, allocations: 384 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3881, allocations: 78.16 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3881, allocations: 7.938 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3881, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.3881, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.3884, allocations: 79.91 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3889, allocations: 244 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3892, allocations: 66.47 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3893, allocations: 44.92 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.3896, allocations: 31.97 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3896, allocations: 30.56 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3896, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005728/0.3902, allocations: 153.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3902, allocations: 55.34 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3904, allocations: 129.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3904, allocations: 25.7 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.3904, allocations: 96.12 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3905, allocations: 19.78 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3905, allocations: 13.72 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3907, allocations: 322.8 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3908, allocations: 35.97 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.391, allocations: 39.95 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.3912, allocations: 76.72 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3912, allocations: 8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000332/0.3916, allocations: 109.9 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3916, allocations: 8 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3916, allocations: 3.938 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3916, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3917, allocations: 19.98 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3917, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.3918, allocations: 7.984 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3918, allocations: 7.984 kB / 1.33 GB, free: 13.23 MB / 1.029 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 0.0001048/0.3919, allocations: 118.3 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.392, allocations: 3.953 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.3923, allocations: 113.6 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3923, allocations: 11.98 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3923, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3924, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.3926, allocations: 144.7 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3926, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.241e-05/0.3927, allocations: 19.91 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3927, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3927, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3927, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3927, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.3931, allocations: 211.4 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.3931, allocations: 7.953 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.3931, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3932, allocations: 11.98 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.3933, allocations: 7.984 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3933, allocations: 4 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.718e-05/0.3933, allocations: 97.64 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3933, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002301/0.3936, allocations: 15.94 kB / 1.331 GB, free: 12.39 MB / 1.029 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.0007464/0.3943, allocations: 0.7513 MB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3947, allocations: 83.91 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3947, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3948, allocations: 39.91 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3951, allocations: 22.02 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.3956, allocations: 183 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.252e-05/0.3957, allocations: 71.34 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.3957, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3957, allocations: 19.42 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3957, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4267, allocations: 2.478 MB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 0 / 1.334 GB, free: 8.801 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.438771369983442]