Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_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.0009737/0.0009738, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.355 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.635/2.635, allocations: 437.8 MB / 0.7128 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6289, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001715/0.6306, allocations: 1.165 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003455/0.631, allocations: 96.58 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.631, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.6311, allocations: 7.938 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.6311, allocations: 7.922 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.6314, allocations: 12 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.6314, allocations: 23.92 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.6315, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.6316, allocations: 15.92 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.6316, allocations: 3.984 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.6316, allocations: 4 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.6317, allocations: 15.98 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.6318, allocations: 15.92 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.6318, allocations: 33.64 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.391e-05/0.6319, allocations: 27.95 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6319, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6319, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6319, allocations: 0 / 1.025 GB, free: 14.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004261/0.6323, allocations: 345.4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6324, allocations: 12.03 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.6324, allocations: 0.9375 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6325, allocations: 180.2 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.6326, allocations: 384 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.6326, allocations: 4.359 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.6328, allocations: 54.25 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.6328, allocations: 192 / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6328, allocations: 7.922 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6328, allocations: 4 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.633, allocations: 43.97 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.6333, allocations: 256.9 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6335, allocations: 54.48 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.6336, allocations: 24.91 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.6336, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6337, allocations: 38.56 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6337, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000379/0.634, allocations: 105.7 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.6341, allocations: 51.41 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.6342, allocations: 105.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.6342, allocations: 33.7 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.6343, allocations: 84.05 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.6343, allocations: 3.938 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.6343, allocations: 17.7 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.6344, allocations: 314.8 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.6345, allocations: 20.02 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.6346, allocations: 23.98 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.6348, allocations: 60.81 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6348, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.635, allocations: 93.47 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.635, allocations: 9.562 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.635, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.6351, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.6352, allocations: 11.98 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.6352, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.6352, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.6352, allocations: 4 kB / 1.027 GB, free: 12.28 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 (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 7.926e-05/0.6353, allocations: 118.3 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.6354, allocations: 4 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.6356, allocations: 89.11 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6356, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6356, allocations: 8.031 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6356, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.6358, allocations: 165.6 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6358, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.6359, allocations: 15.98 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6359, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.6359, allocations: 256 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6359, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6359, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.6362, allocations: 183.4 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.6362, allocations: 77.11 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6363, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.6363, allocations: 16.02 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.6364, allocations: 3.938 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.6364, allocations: 4 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.6364, allocations: 83.27 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.593e-06/0.6364, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002288/0.6367, allocations: 11.94 kB / 1.028 GB, free: 11.41 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 (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.0001398/0.6368, allocations: 103.2 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.6371, allocations: 51.95 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6371, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.6372, allocations: 28.05 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.6374, allocations: 7.938 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.6377, allocations: 142.3 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.638, allocations: 0.6809 MB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.638, allocations: 7.438 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.638, allocations: 3.938 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.002104/0.6401, allocations: 0.6564 MB / 1.029 GB, free: 9.668 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches