Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00116/0.00116, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001515/0.001515, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004116, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9364/0.9368, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0011/0.938, allocations: 317.3 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.9383, allocations: 27.94 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.9383, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.9384, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-06/0.9384, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.9387, allocations: 15.97 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.007e-05/0.9388, allocations: 8 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.9389, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.9389, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.939, allocations: 7.938 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.939, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.9391, allocations: 19.97 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.9391, allocations: 0 / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.9392, allocations: 25.7 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.712e-05/0.9393, allocations: 7.984 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.9393, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9393, allocations: 4 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.9393, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.7794 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.0003521/0.9397, allocations: 311.4 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.9397, allocations: 8.562 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.9398, allocations: 3.938 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.9399, allocations: 163.1 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.9399, allocations: 4 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.9399, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.9401, allocations: 41.59 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9401, allocations: 3.938 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.9401, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9401, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.34e-05/0.9401, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.9403, allocations: 145.7 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.9404, allocations: 18.61 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.9404, allocations: 8.859 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.9405, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.9405, allocations: 42.52 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.9405, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.9407, allocations: 29.7 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.9407, allocations: 51.41 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.9408, allocations: 93.84 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.9408, allocations: 25.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.9409, allocations: 84.27 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.9409, allocations: 11.89 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.9409, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.941, allocations: 314.8 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.9411, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.9411, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/0.9411, allocations: 7.938 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9411, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.372e-05/0.9412, allocations: 29.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9412, allocations: 17.33 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9412, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.9412, allocations: 3.953 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.9413, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9413, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.9413, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.9414, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.9415, allocations: 105.8 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.9415, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.9416, allocations: 52.75 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9416, allocations: 3.953 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9416, allocations: 0 / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9416, allocations: 0 / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.9417, allocations: 157.6 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9418, allocations: 3.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.9418, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.9418, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.9418, allocations: 4.031 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.9418, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9418, allocations: 3.953 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.31e-05/0.9419, allocations: 57.12 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.942, allocations: 77.11 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.942, allocations: 11.92 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.942, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.942, allocations: 4.031 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.942, allocations: 3.953 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.9421, allocations: 75.28 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9421, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000198/0.9423, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.9425, allocations: 111.2 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.9426, allocations: 7.984 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9426, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.844e-06/0.9426, allocations: 4.062 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.9427, allocations: 7.938 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.943, allocations: 70.67 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.9433, allocations: 0.677 MB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.9434, allocations: 4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.9434, allocations: 11.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9434, allocations: 3.938 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002664/0.9461, allocations: 276 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches