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.0008459/0.0008459, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001928, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007511/0.0007511, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009105/0.001662, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9496/0.9496, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09423/1.044, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5584/2.406, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.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.583e-06/1.583e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.17e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001311/0.001333, allocations: 0.651 MB / 0.73 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001215/0.001454, allocations: 36.44 kB / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.001469, allocations: 2.344 kB / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.082e-06/0.001475, allocations: 0 / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.254e-06/0.001477, allocations: 0 / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.001696, allocations: 11.97 kB / 0.7301 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.001748, allocations: 4.766 kB / 0.7301 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.001791, allocations: 1.906 kB / 0.7301 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.001836, allocations: 8.703 kB / 0.7301 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.001868, allocations: 4 kB / 0.7301 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.00188, allocations: 0.6562 kB / 0.7301 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.001989, allocations: 19.97 kB / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.001999, allocations: 1.266 kB / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.002011, allocations: 4 kB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.002094, allocations: 14.41 kB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.002106, allocations: 0 / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002108, allocations: 0.6562 kB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.002121, allocations: 4 kB / 0.7301 GB, free: 3.742 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002555/0.002376, allocations: 221.3 kB / 0.7303 GB, free: 3.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.002407, allocations: 12.72 kB / 0.7303 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.002429, allocations: 0.9375 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.716e-05/0.002486, allocations: 104.2 kB / 0.7305 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.002495, allocations: 384 / 0.7305 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.002502, allocations: 8.359 kB / 0.7305 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.644e-05/0.002568, allocations: 34.19 kB / 0.7305 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.002574, allocations: 1.031 kB / 0.7305 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-06/0.002579, allocations: 384 / 0.7305 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.002583, allocations: 1.359 kB / 0.7305 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.002597, allocations: 8.688 kB / 0.7305 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.811e-05/0.002675, allocations: 54.08 kB / 0.7306 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.132e-05/0.002706, allocations: 18.61 kB / 0.7306 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.124e-05/0.002717, allocations: 4.859 kB / 0.7306 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.002754, allocations: 0.875 kB / 0.7306 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.002774, allocations: 42.56 kB / 0.7306 GB, free: 3.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002774, allocations: 0.625 kB / 0.7306 GB, free: 3.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.758e-05/0.002852, allocations: 34.38 kB / 0.7307 GB, free: 3.117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.002879, allocations: 52.83 kB / 0.7307 GB, free: 3.055 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/0.002901, allocations: 91.61 kB / 0.7308 GB, free: 2.957 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.00291, allocations: 25.7 kB / 0.7308 GB, free: 2.926 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.002926, allocations: 80.14 kB / 0.7309 GB, free: 2.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.002953, allocations: 4 kB / 0.7309 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.00297, allocations: 10.34 kB / 0.7309 GB, free: 2.824 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.003037, allocations: 314.8 kB / 0.7312 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-06/0.003044, allocations: 4.969 kB / 0.7312 GB, free: 2.504 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.003048, allocations: 0 / 0.7312 GB, free: 2.504 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.003071, allocations: 21.3 kB / 0.7312 GB, free: 2.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003072, allocations: 1.125 kB / 0.7312 GB, free: 2.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.8e-05/0.0031, allocations: 29.7 kB / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.003111, allocations: 4.719 kB / 0.7313 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.003115, allocations: 0.9844 kB / 0.7313 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.003122, allocations: 0.5312 kB / 0.7313 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.003176, allocations: 4.938 kB / 0.7313 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.003178, allocations: 0 / 0.7313 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-06/0.003187, allocations: 3.984 kB / 0.7313 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.003196, allocations: 0.875 kB / 0.7313 GB, free: 2.434 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 (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 4.403e-05/0.00324, allocations: 117.8 kB / 0.7314 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-06/0.003243, allocations: 1.75 kB / 0.7314 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.003311, allocations: 45.84 kB / 0.7314 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.003312, allocations: 0.9844 kB / 0.7314 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.003313, allocations: 0 / 0.7314 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003315, allocations: 0 / 0.7314 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.803e-05/0.003353, allocations: 66.81 kB / 0.7315 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.003354, allocations: 0 / 0.7315 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.003363, allocations: 0.75 kB / 0.7315 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-06/0.003366, allocations: 4 kB / 0.7315 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.003367, allocations: 0.9688 kB / 0.7315 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-06/0.00337, allocations: 0 / 0.7315 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.00337, allocations: 0.875 kB / 0.7315 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.003372, allocations: 4.484 kB / 0.7315 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.934e-05/0.003412, allocations: 61.77 kB / 0.7316 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-06/0.003417, allocations: 0 / 0.7316 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-06/0.003421, allocations: 1.156 kB / 0.7316 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.003431, allocations: 4 kB / 0.7316 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.003433, allocations: 4 kB / 0.7316 GB, free: 2.078 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.512e-06/0.00344, allocations: 5.891 kB / 0.7316 GB, free: 2.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00344, allocations: 0.875 kB / 0.7316 GB, free: 2.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 9.551e-05/0.003535, allocations: 11.92 kB / 0.7316 GB, free: 2.059 MB / 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 (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.0001039/0.003639, allocations: 82.77 kB / 0.7317 GB, free: 1.969 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.776e-05/0.003687, allocations: 8.859 kB / 0.7317 GB, free: 1.957 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.00369, allocations: 0 / 0.7317 GB, free: 1.957 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-06/0.003696, allocations: 10.02 kB / 0.7317 GB, free: 1.945 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.419e-05/0.00374, allocations: 11.92 kB / 0.7317 GB, free: 1.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001295/0.00387, allocations: 82.69 kB / 0.7318 GB, free: 1.828 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.38e-05/0.003894, allocations: 52.64 kB / 0.7318 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.003911, allocations: 2.75 kB / 0.7318 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.00394, allocations: 55.36 kB / 0.7319 GB, free: 1.703 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.00394, allocations: 0 / 0.7319 GB, free: 1.703 MB / 0.698 GB Notification: Performance of Templates: time 0.001644/0.005584, allocations: 342.4 kB / 0.7322 GB, free: 1.383 MB / 0.698 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.ref.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: 4.887619484215975]