Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.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.002346/0.002346, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.0031/0.0031, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 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.387/3.387, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.638e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002859/0.002886, allocations: 1.478 MB / 0.8789 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.003199, allocations: 80.69 kB / 0.879 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.003223, allocations: 0 / 0.879 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.466e-05/0.003298, allocations: 9.281 kB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.003334, allocations: 1.531 kB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003571, allocations: 19.91 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.003646, allocations: 27.95 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.399e-05/0.00372, allocations: 4 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.003767, allocations: 11.98 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.003802, allocations: 13.58 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.00382, allocations: 7.938 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.003903, allocations: 15.97 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.003939, allocations: 4 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.003961, allocations: 10.47 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.004088, allocations: 39.81 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004091, allocations: 0 / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004092, allocations: 4 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.004096, allocations: 0 / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005283/0.004624, allocations: 360.2 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.004664, allocations: 10.09 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.004714, allocations: 8.891 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.004839, allocations: 112.6 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.004853, allocations: 384 / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.004864, allocations: 4.375 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.005012, allocations: 42.19 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005021, allocations: 8.188 kB / 0.8796 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005029, allocations: 384 / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005035, allocations: 4.359 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.005154, allocations: 23.92 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.005555, allocations: 255.8 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.005673, allocations: 42.98 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.005735, allocations: 15.75 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.005775, allocations: 4 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.005812, allocations: 37.39 kB / 0.88 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005813, allocations: 0 / 0.88 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002815/0.006094, allocations: 73.56 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.006145, allocations: 51.41 kB / 0.8801 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.006282, allocations: 169.9 kB / 0.8803 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.006305, allocations: 33.64 kB / 0.8803 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.006386, allocations: 126.9 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.006406, allocations: 7.953 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.006447, allocations: 23.36 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002608/0.006708, allocations: 0.4885 MB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.006761, allocations: 8 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.006806, allocations: 11.98 kB / 0.881 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.006909, allocations: 31.67 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.00691, allocations: 0 / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001444/0.007055, allocations: 53.69 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.007079, allocations: 8 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.007088, allocations: 16.2 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007101, allocations: 0 / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.007176, allocations: 11.94 kB / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.00718, allocations: 0 / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.007212, allocations: 4 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.007217, allocations: 0 / 0.8811 GB, free: 2.727 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.000113/0.00733, allocations: 152.6 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.007363, allocations: 11.94 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.007539, allocations: 61.25 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.007541, allocations: 4.031 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.007546, allocations: 3.984 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.007551, allocations: 4 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.007704, allocations: 116.6 kB / 0.8814 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007705, allocations: 0 / 0.8814 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.00775, allocations: 7.984 kB / 0.8814 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.007755, allocations: 4 kB / 0.8814 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007761, allocations: 0 / 0.8814 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.007765, allocations: 7.875 kB / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007766, allocations: 0 / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.008018, allocations: 207.9 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.008024, allocations: 0 / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.008038, allocations: 4 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.008096, allocations: 3.938 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.008134, allocations: 0 / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.008138, allocations: 4 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.008217, allocations: 131.2 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008217, allocations: 0 / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000212/0.008429, allocations: 4 kB / 0.8818 GB, free: 1.945 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0001552/0.008585, allocations: 99.28 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.008756, allocations: 43.59 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008758, allocations: 0 / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.008823, allocations: 23.69 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.009065, allocations: 2.656 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.009396, allocations: 126.2 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.432e-05/0.00947, allocations: 59.47 kB / 0.8821 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.009499, allocations: 20.11 kB / 0.8821 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.009529, allocations: 8.5 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.00953, allocations: 0 / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.003494/0.01302, allocations: 0.5703 MB / 0.8827 GB, free: 0.9375 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.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: 8.475806262111291]