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.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.001508/0.001508, allocations: 115 kB / 17.08 MB, free: 5.957 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.001573/0.001573, allocations: 191.7 kB / 20.03 MB, free: 3.039 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.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9409/0.9428, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002549/0.9454, allocations: 1.434 MB / 1.264 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.9457, allocations: 98.91 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.9458, allocations: 4.875 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.833e-05/0.9458, allocations: 0.7031 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.331e-05/0.9459, allocations: 6.266 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.9461, allocations: 14.73 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.9462, allocations: 28.44 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.9463, allocations: 4.125 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.9463, allocations: 11.78 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.9464, allocations: 13.98 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.9464, allocations: 6.656 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.9465, allocations: 17.5 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.9465, allocations: 11.45 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.9466, allocations: 7.969 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.9467, allocations: 40.39 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9467, allocations: 0.8125 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9467, allocations: 0 / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9467, allocations: 0 / 1.264 GB, free: 6.879 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003709/0.9471, allocations: 343.8 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.9471, allocations: 13.5 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.9472, allocations: 5.781 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.9473, allocations: 172.9 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9473, allocations: 1.344 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.9473, allocations: 9.266 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.9475, allocations: 50.33 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9475, allocations: 1 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.9475, allocations: 3.938 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9475, allocations: 0.75 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.9477, allocations: 47.81 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.948, allocations: 248.4 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.9481, allocations: 44.19 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.9482, allocations: 24.69 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.9483, allocations: 11.3 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.9483, allocations: 31.62 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9483, allocations: 3.938 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000361/0.9487, allocations: 85.47 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.9487, allocations: 52.19 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.9488, allocations: 109.5 kB / 1.265 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.9488, allocations: 26.52 kB / 1.265 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.9488, allocations: 86.16 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.9488, allocations: 6.047 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.9489, allocations: 12.27 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.9489, allocations: 317.6 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.949, allocations: 15.2 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.9491, allocations: 24.53 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.9493, allocations: 44.88 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9493, allocations: 4 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.9495, allocations: 79.39 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9495, allocations: 5.156 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9495, allocations: 4.094 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9496, allocations: 0.7188 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.9497, allocations: 9.703 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9497, allocations: 0 / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.9497, allocations: 5.812 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.9497, allocations: 1.828 kB / 1.266 GB, free: 5.145 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 (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 5.289e-05/0.9498, allocations: 112.9 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.9498, allocations: 1.531 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.9501, allocations: 84.23 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9501, allocations: 0.75 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9501, allocations: 0 / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9501, allocations: 1.422 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.9502, allocations: 162.1 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9502, allocations: 4.594 kB / 1.266 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.9503, allocations: 8.797 kB / 1.266 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9503, allocations: 5.125 kB / 1.266 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.9503, allocations: 4.781 kB / 1.266 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9503, allocations: 0.6094 kB / 1.266 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9503, allocations: 0.5625 kB / 1.266 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.9506, allocations: 174.2 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.9506, allocations: 78.75 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.9506, allocations: 1.891 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.9507, allocations: 9.531 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.9507, allocations: 7.031 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.9507, allocations: 0.8125 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.9508, allocations: 86.95 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9508, allocations: 0 / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002282/0.951, allocations: 11.22 kB / 1.267 GB, free: 4.434 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 (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.0001337/0.9512, allocations: 103.6 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.9514, allocations: 42.66 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9514, allocations: 0.875 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.441e-05/0.9515, allocations: 25.84 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.9518, allocations: 6.641 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.9521, allocations: 144.9 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.9522, allocations: 0.6812 MB / 1.268 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.9522, allocations: 9.5 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9522, allocations: 0 / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of Templates: time 0.002484/0.9547, allocations: 0.6675 MB / 1.268 GB, free: 3.422 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.179613161832094]