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.001222/0.001222, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.00144/0.001441, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.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.531/2.531, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 71.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00191/1.035, allocations: 0.6171 MB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001997/1.037, allocations: 1.383 MB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/1.037, allocations: 4 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/1.037, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/1.037, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/1.038, allocations: 183.5 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/1.038, allocations: 51.89 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/1.038, allocations: 4 kB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/1.038, allocations: 23.97 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/1.038, allocations: 23.91 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/1.038, allocations: 4 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/1.039, allocations: 199.7 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/1.039, allocations: 19.91 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/1.039, allocations: 19.88 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/1.039, allocations: 192 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.039, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/1.039, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.039, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 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.0005348/1.04, allocations: 450.3 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.04, allocations: 8.922 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/1.04, allocations: 8.891 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/1.04, allocations: 172.3 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/1.04, allocations: 384 / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/1.04, allocations: 4.375 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/1.04, allocations: 102 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.04, allocations: 0 / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.04, allocations: 0 / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.04, allocations: 0 / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/1.04, allocations: 67.89 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/1.041, allocations: 177.6 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/1.041, allocations: 74.53 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/1.041, allocations: 76.83 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/1.041, allocations: 3.984 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.041, allocations: 38.5 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/1.041, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.000394/1.041, allocations: 255.2 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.041, allocations: 85.09 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/1.042, allocations: 140.1 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.042, allocations: 29.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/1.042, allocations: 104 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.042, allocations: 7.953 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/1.042, allocations: 29.7 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.042, allocations: 318.9 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/1.042, allocations: 103.9 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/1.042, allocations: 99.94 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/1.042, allocations: 281.7 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.042, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003477/1.043, allocations: 324.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/1.043, allocations: 79.31 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.043, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.043, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/1.043, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.043, allocations: 4.062 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/1.043, allocations: 15.89 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/1.043, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 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.0001162/1.043, allocations: 143.5 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/1.043, allocations: 11.89 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/1.043, allocations: 16.23 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.043, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.043, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/1.043, allocations: 81.06 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/1.043, allocations: 8 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/1.043, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.043, allocations: 7.984 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002969/1.044, allocations: 329.9 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003161/1.044, allocations: 376.3 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001035/1.044, allocations: 75.95 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.884e-05/1.044, allocations: 115.2 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/1.044, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007798/1.045, allocations: 437.5 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000548/1.046, allocations: 0.6504 MB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.00519/1.051, allocations: 2.045 MB / 1.177 GB, free: 9.398 MB / 0.9044 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/jenkins1/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