Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.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.001384/0.001384, allocations: 110 kB / 18.93 MB, free: 2.945 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.001729/0.001729, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.424/1.424, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.89 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7938, allocations: 160.8 MB / 1.218 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002702/0.7965, allocations: 1.446 MB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.7968, allocations: 103.1 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.7969, allocations: 0 / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.053e-05/0.7969, allocations: 4.781 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.61e-05/0.797, allocations: 5 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.7972, allocations: 18.23 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.7973, allocations: 21.48 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.7974, allocations: 6.031 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.826e-05/0.7974, allocations: 16.33 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.7974, allocations: 7.062 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.7975, allocations: 2.375 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.7976, allocations: 25 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.7976, allocations: 14.06 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.7976, allocations: 9.969 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.7977, allocations: 45.19 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7977, allocations: 0.8125 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7978, allocations: 0 / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.7978, allocations: 0 / 1.22 GB, free: 2.391 MB / 0.92 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.0004792/0.7982, allocations: 351.1 kB / 1.22 GB, free: 2.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.7983, allocations: 9.25 kB / 1.22 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.7983, allocations: 6.281 kB / 1.22 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.7984, allocations: 170.6 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.7985, allocations: 1.562 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.7985, allocations: 5.812 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.7986, allocations: 50.58 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.7987, allocations: 192 / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.7987, allocations: 7.938 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.7987, allocations: 1.188 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.7988, allocations: 37 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.7992, allocations: 260.9 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.7993, allocations: 44.67 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.7994, allocations: 27.69 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.7994, allocations: 6.859 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.7995, allocations: 32.06 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7995, allocations: 0 / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.7998, allocations: 88.7 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.7999, allocations: 56.75 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.379e-05/0.7999, allocations: 105.1 kB / 1.221 GB, free: 1.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.8, allocations: 26.89 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.8, allocations: 85.33 kB / 1.221 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.8, allocations: 9.25 kB / 1.221 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.8001, allocations: 11.78 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8002, allocations: 316.2 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.8003, allocations: 18.61 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.8004, allocations: 22.28 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.8006, allocations: 38.42 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8006, allocations: 3.938 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/0.8008, allocations: 80.03 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8008, allocations: 9.188 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.8008, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8008, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.8009, allocations: 11.02 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8009, allocations: 3.984 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.8009, allocations: 11.44 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.801, allocations: 1.094 kB / 1.222 GB, free: 0.5352 MB / 0.92 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 8.985e-05/0.801, allocations: 119.9 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.8011, allocations: 1.094 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.8013, allocations: 78.78 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8013, allocations: 1.094 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8013, allocations: 256 / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.8013, allocations: 0 / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.8015, allocations: 168.7 kB / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8015, allocations: 0 / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.8016, allocations: 14.77 kB / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8016, allocations: 0 / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.8016, allocations: 0.8438 kB / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8016, allocations: 0 / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8016, allocations: 0.9375 kB / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.8018, allocations: 170.5 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.8019, allocations: 85.09 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.8019, allocations: 1.094 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.802, allocations: 12.02 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.802, allocations: 5.25 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.802, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.8021, allocations: 84.95 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8021, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002342/0.8023, allocations: 12.03 kB / 1.223 GB, free: 15.79 MB / 0.9356 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.0001439/0.8024, allocations: 108.2 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.8027, allocations: 39.14 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8027, allocations: 1.188 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.8027, allocations: 19.73 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.803, allocations: 14.59 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.8033, allocations: 110.6 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.8037, allocations: 0.6818 MB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.8037, allocations: 1.031 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.8037, allocations: 8.5 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8037, allocations: 0 / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.003031/0.8067, allocations: 0.5525 MB / 1.224 GB, free: 14.54 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.339662400074303]