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.001281/0.001281, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001509/0.001509, allocations: 215.7 kB / 22.25 MB, free: 5.082 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.02 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.182/3.182, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.002877/0.002877, allocations: 75.81 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4116, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003219/0.4148, allocations: 1.519 MB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.4151, allocations: 115.6 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.4152, allocations: 0 / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.4152, allocations: 7.938 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.4153, allocations: 11.88 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.4155, allocations: 23.91 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.4156, allocations: 43.91 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.4157, allocations: 11.98 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.4157, allocations: 15.92 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.4158, allocations: 23.92 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4158, allocations: 4 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.4159, allocations: 15.98 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.4159, allocations: 15.92 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.416, allocations: 23.86 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.4161, allocations: 67.95 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4161, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4161, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.4161, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 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.0005326/0.4166, allocations: 306 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4167, allocations: 8.031 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.4167, allocations: 42.67 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.4167, allocations: 4.891 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.4169, allocations: 133.3 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.4169, allocations: 384 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4169, allocations: 384 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.4172, allocations: 78.2 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4172, allocations: 3.938 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4172, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4172, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.4175, allocations: 83.86 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.4178, allocations: 252 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4181, allocations: 58.64 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4182, allocations: 48.81 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.4184, allocations: 31.97 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4184, allocations: 38.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4184, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005626/0.419, allocations: 145.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4191, allocations: 51.41 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4192, allocations: 133.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4192, allocations: 25.7 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.4192, allocations: 92.12 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.4193, allocations: 15.84 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.4193, allocations: 17.72 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4195, allocations: 318.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4196, allocations: 35.97 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4197, allocations: 39.95 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.42, allocations: 88.66 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.42, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003178/0.4203, allocations: 113.5 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4204, allocations: 5.719 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4204, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4204, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.4205, allocations: 15.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4205, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.4206, allocations: 11.98 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4206, allocations: 0 / 1.33 GB, free: 13.72 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.0001041/0.4207, allocations: 126.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.4207, allocations: 7.953 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.4211, allocations: 121.9 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4213, allocations: 164.6 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4213, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.4214, allocations: 19.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4214, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4214, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4214, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4214, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.4218, allocations: 211.3 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.4218, allocations: 11.95 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4218, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4219, allocations: 11.98 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.422, allocations: 3.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.422, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.589e-05/0.422, allocations: 95.27 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.422, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002281/0.4223, allocations: 8 kB / 1.331 GB, free: 12.86 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.0007417/0.423, allocations: 0.755 MB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.4234, allocations: 79.91 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4234, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.4235, allocations: 35.97 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.4237, allocations: 11.92 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.4243, allocations: 190.9 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4246, allocations: 0.6885 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.4247, allocations: 4 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.4247, allocations: 19.42 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4247, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4555, allocations: 2.006 MB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.49, allocations: 3.688 kB / 1.334 GB, free: 9.117 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.42299627600005]