Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001217/0.001217, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7099 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.14 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6878, allocations: 151.6 MB / 1.017 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002534/0.6904, allocations: 0.6838 MB / 1.017 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.6923, allocations: 1.42 MB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.6923, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/0.6924, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.6924, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.693, allocations: 135.7 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.6931, allocations: 43.89 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.6931, allocations: 11.98 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.6932, allocations: 19.92 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.6933, allocations: 19.97 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.6933, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.6936, allocations: 191.7 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.6937, allocations: 11.98 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.6938, allocations: 19.86 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.6941, allocations: 187.6 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6941, allocations: 3.938 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6942, allocations: 4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.6942, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006268/0.6948, allocations: 454.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6949, allocations: 12.03 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.6949, allocations: 8.844 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.695, allocations: 172.3 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6951, allocations: 384 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.6951, allocations: 4.375 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.6953, allocations: 97.95 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.6953, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6953, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6953, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.6954, allocations: 59.95 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.6956, allocations: 177.6 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.6957, allocations: 82.47 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.6958, allocations: 68.89 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.6958, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6958, allocations: 38.5 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.6958, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003738/0.6962, allocations: 259.1 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6963, allocations: 85.09 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6964, allocations: 133.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6964, allocations: 33.7 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.6965, allocations: 96.03 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6965, allocations: 7.891 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.6966, allocations: 29.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.6967, allocations: 322.9 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.6968, allocations: 103.9 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.6969, allocations: 99.94 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.6972, allocations: 281.6 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6972, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003444/0.6975, allocations: 328.8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.6976, allocations: 73.27 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.6976, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6976, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/0.6976, allocations: 11.98 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.6976, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.6978, allocations: 15.84 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6978, allocations: 0 / 1.022 GB, free: 12.99 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001082/0.698, allocations: 151.5 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.698, allocations: 11.84 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.698, allocations: 12.19 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.698, allocations: 3.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.698, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.698, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.6981, allocations: 169.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6982, allocations: 7.984 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-06/0.6982, allocations: 3.938 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.6982, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6982, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6982, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6982, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.6985, allocations: 234.6 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.6985, allocations: 84.95 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.6985, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.6986, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.6987, allocations: 11.98 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.6987, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.6988, allocations: 107.2 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6988, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003023/0.6991, allocations: 60 kB / 1.023 GB, free: 12.02 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002809/0.6994, allocations: 159.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.6997, allocations: 366.7 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6998, allocations: 4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.6999, allocations: 143.3 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.7001, allocations: 11.88 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.7004, allocations: 223.4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.7007, allocations: 0.6887 MB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.372e-06/0.7007, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.001e-05/0.7007, allocations: 7.438 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.7007, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.004563/0.7053, allocations: 1.921 MB / 1.026 GB, free: 8.426 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches