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.001175/0.001175, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001216/0.001216, allocations: 192.2 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.72/2.72, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9881/0.9898, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001901/0.9918, allocations: 0.6216 MB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.9939, allocations: 1.379 MB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.9939, allocations: 3.938 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.994, allocations: 0 / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.994, allocations: 7.984 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.9947, allocations: 185 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.9948, allocations: 51.89 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.9949, allocations: 4 kB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.9949, allocations: 15.98 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.995, allocations: 23.91 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.995, allocations: 8 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.9954, allocations: 207.7 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.9954, allocations: 11.94 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.9955, allocations: 23.86 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.9957, allocations: 188 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9957, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9957, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.9958, 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.0004914/0.9962, allocations: 442.3 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9963, allocations: 16.62 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.9964, allocations: 4.891 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.9966, allocations: 180.2 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.9966, allocations: 4.375 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.9966, allocations: 4.375 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.9968, allocations: 97.95 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9968, allocations: 3.984 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.9968, allocations: 4 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.9968, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.9969, allocations: 63.89 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.9971, allocations: 177.7 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.9973, allocations: 74.53 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.9974, allocations: 76.83 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.9974, allocations: 3.984 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9974, allocations: 34.5 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.9974, allocations: 3.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003992/0.9978, allocations: 255.2 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.9979, allocations: 85.14 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.998, allocations: 144.2 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.998, allocations: 29.7 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.9981, allocations: 92.09 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.9981, allocations: 11.94 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.9982, allocations: 25.72 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9983, allocations: 318.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.9984, allocations: 103.9 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.9986, allocations: 103.9 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.9989, allocations: 277.7 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9989, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003522/0.9993, allocations: 328.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.9993, allocations: 75.33 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9994, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9994, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.9994, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.9994, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.9996, allocations: 23.94 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.9996, allocations: 0 / 1.173 GB, free: 13.85 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.0001173/0.9997, allocations: 147.5 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.9998, allocations: 11.89 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.9998, allocations: 12.25 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9998, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9998, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.9999, allocations: 81.06 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.9999, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/1, allocations: 8 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/1, allocations: 11.92 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003194/1, allocations: 325.9 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003406/1.001, allocations: 376.3 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00011/1.001, allocations: 75.94 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.77e-05/1.001, allocations: 115.2 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Backend: time 4.41e-07/1.001, allocations: 4.062 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008143/1.002, allocations: 433 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006552/1.002, allocations: 0.6495 MB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.005114/1.008, allocations: 2.055 MB / 1.177 GB, free: 9.391 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