Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009644/0.0009644, allocations: 76.81 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001088/0.001088, allocations: 161.4 kB / 24.17 MB, free: 324 kB / 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 0.9254/0.9254, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.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.931/1.931, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.643e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001306/0.001333, allocations: 0.6114 MB / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.001537, allocations: 36.55 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.259e-05/0.00155, allocations: 4.469 kB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.001562, allocations: 1.125 kB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.001569, allocations: 0 / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.001875, allocations: 11.98 kB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.001934, allocations: 5.906 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.001981, allocations: 0 / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.002017, allocations: 4.531 kB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.002047, allocations: 0.9375 kB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.00206, allocations: 0 / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.002163, allocations: 19.97 kB / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.002176, allocations: 1.531 kB / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.219e-05/0.002188, allocations: 0 / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002297, allocations: 30.33 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002299, allocations: 0 / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.0023, allocations: 0 / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.002306, allocations: 0 / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002343/0.00254, allocations: 209.3 kB / 0.761 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.002572, allocations: 13.31 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.002593, allocations: 4.922 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.195e-05/0.002645, allocations: 101.8 kB / 0.7611 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.002655, allocations: 4.375 kB / 0.7611 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.002663, allocations: 6.156 kB / 0.7611 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.792e-05/0.002721, allocations: 26.27 kB / 0.7611 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.002726, allocations: 1 kB / 0.7611 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.002732, allocations: 384 / 0.7611 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.002736, allocations: 1.281 kB / 0.7611 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.249e-05/0.002748, allocations: 11.88 kB / 0.7611 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.853e-05/0.002807, allocations: 57.59 kB / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.119e-05/0.002838, allocations: 19.3 kB / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-06/0.002848, allocations: 5.953 kB / 0.7612 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.002872, allocations: 5.219 kB / 0.7612 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.002891, allocations: 30.56 kB / 0.7613 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.002892, allocations: 0 / 0.7613 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.908e-05/0.002971, allocations: 34.67 kB / 0.7613 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.003, allocations: 51.41 kB / 0.7613 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.422e-05/0.003024, allocations: 94.42 kB / 0.7614 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.003031, allocations: 27.48 kB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.003056, allocations: 88.12 kB / 0.7615 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.00309, allocations: 3.984 kB / 0.7615 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.00311, allocations: 10.92 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.00318, allocations: 318.8 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.003186, allocations: 1.219 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-06/0.00319, allocations: 0 / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.003213, allocations: 11.23 kB / 0.7619 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003215, allocations: 0 / 0.7619 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.824e-05/0.003253, allocations: 41.61 kB / 0.7619 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.003262, allocations: 4 kB / 0.7619 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003266, allocations: 0 / 0.7619 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.003276, allocations: 0 / 0.7619 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.003318, allocations: 4.719 kB / 0.7619 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.00332, allocations: 0.875 kB / 0.7619 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-06/0.003328, allocations: 0.9375 kB / 0.7619 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.003338, allocations: 0 / 0.7619 GB, free: 4.578 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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 5.539e-05/0.003393, allocations: 114.5 kB / 0.762 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-06/0.003397, allocations: 0 / 0.762 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.003459, allocations: 42.44 kB / 0.7621 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003461, allocations: 3.938 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.003462, allocations: 2.562 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.003465, allocations: 4.547 kB / 0.7621 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.389e-05/0.003509, allocations: 69.84 kB / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.003512, allocations: 3.984 kB / 0.7621 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-06/0.003519, allocations: 0 / 0.7621 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.003521, allocations: 4 kB / 0.7622 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.003524, allocations: 3.312 kB / 0.7622 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.003525, allocations: 0 / 0.7622 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003526, allocations: 0 / 0.7622 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.78e-05/0.003564, allocations: 53.08 kB / 0.7622 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-06/0.003568, allocations: 7.984 kB / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-06/0.003574, allocations: 0 / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-06/0.003578, allocations: 0 / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.003588, allocations: 1.688 kB / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.003591, allocations: 4.984 kB / 0.7622 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.182e-06/0.003597, allocations: 4.859 kB / 0.7622 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003597, allocations: 3.938 kB / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.85e-05/0.003696, allocations: 5.031 kB / 0.7622 GB, free: 4.211 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001007/0.003797, allocations: 93.27 kB / 0.7623 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.052e-05/0.003837, allocations: 8.859 kB / 0.7623 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.003839, allocations: 5.281 kB / 0.7623 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.003843, allocations: 4.859 kB / 0.7623 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.004e-05/0.003883, allocations: 4.812 kB / 0.7623 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000133/0.004016, allocations: 81.52 kB / 0.7624 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.394e-05/0.00404, allocations: 55.34 kB / 0.7625 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.004057, allocations: 4 kB / 0.7625 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.004086, allocations: 49.8 kB / 0.7625 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.004087, allocations: 0 / 0.7625 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.001908/0.005995, allocations: 359.5 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023655639961362]