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.001791/0.001791, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002087/0.002087, allocations: 186 kB / 20.78 MB, free: 1.539 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] 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.917/2.917, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] 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.002233/0.002233, allocations: 79.88 kB / 1.107 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002631/1.11, allocations: 1.524 MB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003477/1.11, allocations: 115.2 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/1.11, allocations: 0.6875 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/1.11, allocations: 4.547 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/1.11, allocations: 6.953 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/1.111, allocations: 21.11 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/1.111, allocations: 47.58 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/1.111, allocations: 17 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/1.111, allocations: 13.58 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/1.111, allocations: 27.53 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/1.111, allocations: 4.25 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/1.111, allocations: 20.45 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/1.111, allocations: 9.781 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/1.111, allocations: 22.3 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/1.111, allocations: 64.62 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.111, allocations: 0 / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/1.111, allocations: 0 / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.111, allocations: 0.8438 kB / 1.273 GB, free: 6.441 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.000502/1.112, allocations: 381.1 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.112, allocations: 10.06 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/1.112, allocations: 36.2 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/1.112, allocations: 8.75 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.278e-05/1.112, allocations: 175.9 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.112, allocations: 1.938 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/1.112, allocations: 1.906 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/1.112, allocations: 77.62 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.112, allocations: 3.938 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/1.112, allocations: 0.875 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.112, allocations: 0.7812 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/1.113, allocations: 86.12 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/1.113, allocations: 285.5 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/1.113, allocations: 64.48 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/1.113, allocations: 42.11 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/1.114, allocations: 116 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/1.114, allocations: 35.47 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.114, allocations: 0 / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005736/1.114, allocations: 146.1 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.114, allocations: 51.41 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/1.114, allocations: 128.6 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/1.114, allocations: 27.62 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/1.114, allocations: 91.06 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/1.114, allocations: 12.17 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/1.114, allocations: 12.81 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/1.114, allocations: 318.2 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/1.115, allocations: 40.12 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/1.115, allocations: 35.5 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/1.115, allocations: 82.98 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.115, allocations: 4 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003359/1.115, allocations: 113 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.115, allocations: 4.969 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/1.115, allocations: 1.391 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.115, allocations: 0.5625 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.116, allocations: 15.91 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.116, allocations: 5.094 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/1.116, allocations: 11.75 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/1.116, allocations: 1.375 kB / 1.276 GB, free: 4.492 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 6.002e-05/1.116, allocations: 119.4 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/1.116, allocations: 11.5 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/1.116, allocations: 121.9 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/1.116, allocations: 5.469 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.116, allocations: 0.6562 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/1.116, allocations: 0 / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/1.116, allocations: 189.3 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.116, allocations: 0 / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.707e-05/1.116, allocations: 14.48 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.116, allocations: 4.5 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/1.116, allocations: 1.062 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.116, allocations: 4 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.116, allocations: 1.656 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/1.117, allocations: 211.7 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/1.117, allocations: 84.62 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/1.117, allocations: 0.75 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.117, allocations: 14.5 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/1.117, allocations: 4.688 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/1.117, allocations: 0.6562 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.309e-05/1.117, allocations: 104 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.117, allocations: 3.938 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000242/1.117, allocations: 9.438 kB / 1.277 GB, free: 3.742 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.0005734/1.118, allocations: 0.7437 MB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003746/1.118, allocations: 83.08 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.118, allocations: 4 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.118, allocations: 38.83 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/1.119, allocations: 10.69 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/1.119, allocations: 194.1 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/1.119, allocations: 0.6853 MB / 1.278 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.977e-05/1.119, allocations: 6.609 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/1.119, allocations: 22.56 kB / 1.278 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.119, allocations: 0.7188 kB / 1.278 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/1.146, allocations: 1.873 MB / 1.28 GB, free: 17.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/9.071, allocations: 8.219 kB / 1.28 GB, free: 17.75 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.531581413000822]