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.001139/0.001139, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001883/0.003023, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001174/0.001174, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002807, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09854/1.13, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.914/1.914, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.503/2.417, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 4 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.77e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003032/0.00306, allocations: 1.599 MB / 0.7312 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002346/0.003295, allocations: 112.6 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.00333, allocations: 1.094 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.003371, allocations: 4.594 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.003426, allocations: 7.469 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.00356, allocations: 25.03 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.003659, allocations: 44.95 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.003749, allocations: 12.75 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003853, allocations: 32.69 kB / 0.7315 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.003915, allocations: 17.72 kB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.003936, allocations: 4.984 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.004026, allocations: 27.92 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.004069, allocations: 6.516 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.004092, allocations: 9.859 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004228, allocations: 43.62 kB / 0.7316 GB, free: 2.512 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.00424, allocations: 0 / 0.7316 GB, free: 2.512 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004241, allocations: 4.438 kB / 0.7316 GB, free: 2.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.004256, allocations: 0 / 0.7316 GB, free: 2.508 MB / 0.698 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.0004428/0.004698, allocations: 270.6 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.004734, allocations: 13.44 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.00477, allocations: 4.922 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.004879, allocations: 121.7 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.004894, allocations: 384 / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.004908, allocations: 8.906 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.005058, allocations: 63.2 kB / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005065, allocations: 192 / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.005072, allocations: 384 / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.005077, allocations: 384 / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/0.005113, allocations: 20.95 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.005357, allocations: 165.9 kB / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.005442, allocations: 74.2 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.005464, allocations: 10.45 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.005613, allocations: 24.73 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.005641, allocations: 38.48 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.005643, allocations: 1.312 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001474/0.00579, allocations: 49.56 kB / 0.7324 GB, free: 1.562 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.005823, allocations: 55.41 kB / 0.7324 GB, free: 1.496 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.005914, allocations: 130.2 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.00593, allocations: 27.3 kB / 0.7326 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.005969, allocations: 88.12 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.005993, allocations: 11.84 kB / 0.7327 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.006027, allocations: 21.7 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.006121, allocations: 320.2 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.006138, allocations: 2.828 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.006151, allocations: 4 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.006189, allocations: 24.25 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.006194, allocations: 4 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.286e-05/0.006267, allocations: 43.12 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.006281, allocations: 4 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006284, allocations: 0 / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.0063, allocations: 8.906 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.006391, allocations: 11.98 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.006394, allocations: 0.7812 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.006429, allocations: 4 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.006436, allocations: 0.625 kB / 0.7331 GB, free: 0.7656 MB / 0.698 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.755e-05/0.006503, allocations: 109.6 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.006528, allocations: 7.984 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.006635, allocations: 50.12 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.00664, allocations: 7.938 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.006641, allocations: 1.562 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.006645, allocations: 3.984 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.006765, allocations: 73.89 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006766, allocations: 0 / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.006825, allocations: 13.95 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.006834, allocations: 7.953 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006836, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.006842, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.006844, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.006848, allocations: 9.266 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.006962, allocations: 186.2 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.006978, allocations: 4 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.007046, allocations: 9.25 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.007086, allocations: 7.984 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.007091, allocations: 3.938 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.00712, allocations: 20.84 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.00712, allocations: 1.25 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001995/0.00732, allocations: 8 kB / 0.7336 GB, free: 200 kB / 0.698 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.0001597/0.00748, allocations: 89.17 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.007559, allocations: 20.86 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.007565, allocations: 0.5312 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.007606, allocations: 16.72 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.007868, allocations: 68.73 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.008359, allocations: 148.2 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.008399, allocations: 63.34 kB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.00843, allocations: 7.25 kB / 0.734 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.008488, allocations: 51.38 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.008489, allocations: 0 / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.003141/0.01163, allocations: 0.8337 MB / 0.7349 GB, free: 14.88 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.903216782025993]