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.001318/0.001318, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001423/0.001423, allocations: 215 kB / 20.13 MB, free: 2.949 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 / 253.5 MB, free: 15.11 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.024/3.024, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",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.002192/0.002192, allocations: 75.83 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.053, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002471/1.055, allocations: 1.512 MB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/1.055, allocations: 107.4 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/1.055, allocations: 0 / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.899e-05/1.056, allocations: 6.531 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/1.056, allocations: 9.766 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/1.056, allocations: 24.72 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/1.056, allocations: 48.61 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/1.056, allocations: 8.969 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/1.056, allocations: 17.88 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/1.056, allocations: 27.31 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/1.056, allocations: 4.5 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/1.056, allocations: 24.95 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/1.056, allocations: 17.06 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/1.056, allocations: 23.42 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/1.056, allocations: 56.38 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.056, allocations: 0 / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/1.056, allocations: 0 / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.056, allocations: 7.938 kB / 1.342 GB, free: 15.03 MB / 1.061 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.0005233/1.057, allocations: 378 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.057, allocations: 9.062 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.277e-05/1.057, allocations: 1.344 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/1.057, allocations: 36.41 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/1.057, allocations: 29.89 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.328e-05/1.057, allocations: 178.8 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/1.057, allocations: 1.625 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/1.057, allocations: 1.562 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/1.058, allocations: 87.41 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/1.058, allocations: 0 / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.058, allocations: 1.984 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/1.058, allocations: 0 / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/1.058, allocations: 82.8 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/1.058, allocations: 294.8 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/1.059, allocations: 77.34 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/1.059, allocations: 43.47 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/1.059, allocations: 0 / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/1.059, allocations: 36.55 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/1.059, allocations: 0 / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005919/1.059, allocations: 155.1 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/1.059, allocations: 55.34 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/1.059, allocations: 132.7 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/1.059, allocations: 26.92 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/1.059, allocations: 88.72 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/1.059, allocations: 17.64 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/1.06, allocations: 13.42 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/1.06, allocations: 322.6 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/1.06, allocations: 37.7 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/1.06, allocations: 41.11 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/1.06, allocations: 89.39 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.06, allocations: 0 / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004105/1.061, allocations: 115.9 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.061, allocations: 7.531 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.061, allocations: 18.3 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.061, allocations: 0 / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/1.061, allocations: 16.58 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.061, allocations: 0 / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/1.061, allocations: 12.58 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.061, allocations: 5.781 kB / 1.344 GB, free: 13.13 MB / 1.061 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 8.037e-05/1.061, allocations: 119 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.061, allocations: 2.125 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/1.061, allocations: 15.36 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.061, allocations: 2.156 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.061, allocations: 0.7031 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.061, allocations: 0 / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/1.061, allocations: 187.5 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.061, allocations: 1.312 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.062, allocations: 15.95 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.062, allocations: 0 / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/1.062, allocations: 3.188 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.062, allocations: 4.703 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.062, allocations: 0 / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/1.062, allocations: 212.6 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/1.062, allocations: 87.03 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/1.062, allocations: 1.938 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.062, allocations: 16.27 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/1.062, allocations: 6.922 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.062, allocations: 1.375 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.738e-05/1.062, allocations: 98.56 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 0 / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002495/1.063, allocations: 8.766 kB / 1.345 GB, free: 12.44 MB / 1.061 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.0006265/1.063, allocations: 0.7516 MB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004221/1.064, allocations: 82.8 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.064, allocations: 4 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.064, allocations: 40.38 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/1.064, allocations: 7.406 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/1.065, allocations: 185.4 kB / 1.346 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/1.065, allocations: 0.7003 MB / 1.347 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.578e-05/1.065, allocations: 3.219 kB / 1.347 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/1.065, allocations: 19.28 kB / 1.347 GB, free: 10.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.065, allocations: 0 / 1.347 GB, free: 10.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/1.083, allocations: 1.914 MB / 1.349 GB, free: 10.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.806/9.889, allocations: 5.766 kB / 1.349 GB, free: 10.41 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 16.506629570038058]