Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 104.4 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009634/0.0009635, allocations: 193.2 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.98/1.98, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.53 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2497, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001607/0.2513, allocations: 0.5856 MB / 0.9517 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.2515, allocations: 31.88 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.2516, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.2516, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-06/0.2516, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.2518, allocations: 19.92 kB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.2519, allocations: 3.984 kB / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.2519, allocations: 8 kB / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.252, allocations: 4 kB / 0.9518 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.252, allocations: 7.922 kB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.252, allocations: 0 / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.2521, allocations: 15.98 kB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.2521, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.2521, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.141e-05/0.2522, allocations: 19.97 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2522, allocations: 0 / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2522, allocations: 0 / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2522, allocations: 0 / 0.9518 GB, free: 7.367 MB / 0.7325 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.0002791/0.2525, allocations: 323.5 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2526, allocations: 8.031 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.2526, allocations: 0.9375 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/0.2527, allocations: 160.4 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2527, allocations: 8.312 kB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2527, allocations: 384 / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.2528, allocations: 34.25 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2528, allocations: 192 / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.2528, allocations: 7.938 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2528, allocations: 4 kB / 0.9523 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.2529, allocations: 0 / 0.9523 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.253, allocations: 141.7 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.253, allocations: 22.55 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.253, allocations: 8.859 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2531, allocations: 8 kB / 0.9525 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2531, allocations: 38.55 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.2531, allocations: 0 / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.2532, allocations: 37.55 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.2533, allocations: 51.41 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.2533, allocations: 89.86 kB / 0.9527 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.2533, allocations: 29.7 kB / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.2534, allocations: 80.14 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.2534, allocations: 0 / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.2534, allocations: 17.84 kB / 0.9528 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2535, allocations: 318.8 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.2535, allocations: 3.938 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.2535, allocations: 0 / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.2536, allocations: 8.859 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2536, allocations: 0 / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.593e-05/0.2536, allocations: 29.7 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2536, allocations: 8 kB / 0.9532 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2537, allocations: 4.094 kB / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2537, allocations: 3.938 kB / 0.9532 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.2537, allocations: 3.984 kB / 0.9532 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2537, allocations: 0 / 0.9532 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.2537, allocations: 8 kB / 0.9532 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2538, allocations: 3.938 kB / 0.9532 GB, free: 5.707 MB / 0.7325 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.621e-05/0.2538, allocations: 105.8 kB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.2538, allocations: 4 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.737e-05/0.2539, allocations: 48.75 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2539, allocations: 0 / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.254, allocations: 0 / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.254, allocations: 7.922 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.968e-05/0.254, allocations: 149.7 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2541, allocations: 0 / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.2541, allocations: 3.984 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2541, allocations: 0 / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.2541, allocations: 3.969 kB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2541, allocations: 8 kB / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2541, allocations: 0 / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.874e-05/0.2542, allocations: 61.02 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.2542, allocations: 77.11 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2542, allocations: 11.92 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.2542, allocations: 0 / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-06/0.2542, allocations: 0 / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2542, allocations: 4.031 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.2543, allocations: 75.28 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.2543, allocations: 0 / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001729/0.2545, allocations: 12 kB / 0.9538 GB, free: 5.043 MB / 0.7325 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.0001315/0.2546, allocations: 99.25 kB / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.92e-05/0.2547, allocations: 7.984 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2547, allocations: 3.938 kB / 0.9539 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-06/0.2547, allocations: 8.062 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2548, allocations: 0 / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001604/0.255, allocations: 81.48 kB / 0.9539 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2552, allocations: 0.6766 MB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.841e-05/0.2552, allocations: 0 / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.2552, allocations: 15.48 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2553, allocations: 0 / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.001843/0.2571, allocations: 288.7 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches