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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 108 kB / 16.36 MB, free: 6.285 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.001117/0.001117, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.194/2.194, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.38 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2549, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00226/0.2572, allocations: 1.447 MB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002538/0.2575, allocations: 92.53 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.2575, allocations: 0 / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.2576, allocations: 7.938 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.2576, allocations: 0 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.2578, allocations: 19.91 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.783e-05/0.2579, allocations: 31.91 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.258, allocations: 8 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.258, allocations: 7.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.2581, allocations: 11.98 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2581, allocations: 7.938 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.2582, allocations: 15.98 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2582, allocations: 11.98 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.2582, allocations: 3.938 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.2583, allocations: 39.88 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2583, allocations: 0 / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2583, allocations: 0 / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2584, allocations: 4 kB / 1.028 GB, free: 368 kB / 0.795 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.0003777/0.2587, allocations: 347.4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.2588, allocations: 8.031 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.2588, allocations: 4.938 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.2589, allocations: 164.3 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2589, allocations: 384 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2589, allocations: 12.38 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.2591, allocations: 54.23 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2591, allocations: 4.172 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2591, allocations: 3.938 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2591, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2593, allocations: 39.95 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.2596, allocations: 252.9 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2597, allocations: 46.44 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.2598, allocations: 28.89 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2598, allocations: 4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2598, allocations: 30.56 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2598, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002925/0.2601, allocations: 89.64 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2601, allocations: 55.34 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.2602, allocations: 105.8 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2602, allocations: 25.7 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.2603, allocations: 88.14 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.2603, allocations: 3.906 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.2603, allocations: 17.64 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.2604, allocations: 323 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.2605, allocations: 15.92 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.2606, allocations: 19.98 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.2607, allocations: 40.81 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2607, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.2609, allocations: 85.59 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.2609, allocations: 4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2609, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.2609, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.261, allocations: 11.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.261, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.261, allocations: 7.938 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.2611, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 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 6.467e-05/0.2611, allocations: 125.7 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2612, allocations: 3.906 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.2613, allocations: 73.19 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2614, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2614, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2614, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2615, allocations: 165.6 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2615, allocations: 7.969 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.2616, allocations: 8.234 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2616, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2616, allocations: 4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2616, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2616, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2618, allocations: 167.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.2618, allocations: 81.11 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.2619, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.2619, allocations: 7.984 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.262, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.262, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.262, allocations: 87.27 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.262, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002151/0.2622, allocations: 15.91 kB / 1.031 GB, free: 13.43 MB / 0.8106 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.0001106/0.2623, allocations: 107.2 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.2625, allocations: 39.95 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.2625, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.2626, allocations: 23.98 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.2628, allocations: 4.062 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.2631, allocations: 120.2 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2633, allocations: 0.6767 MB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.2633, allocations: 3.984 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.2633, allocations: 15.38 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2633, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.002203/0.2655, allocations: 0.5422 MB / 1.032 GB, free: 11.84 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches