Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001606/0.001606, allocations: 115 kB / 16.81 MB, free: 5.77 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.001667/0.001667, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.484/1.484, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 74.28 kB / 1.097 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.409, allocations: 168.7 MB / 1.262 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002031/0.411, allocations: 0.6098 MB / 1.263 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.4131, allocations: 1.385 MB / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.4131, allocations: 0 / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.706e-05/0.4132, allocations: 3.984 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.4132, allocations: 7.938 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.4139, allocations: 179.6 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.4141, allocations: 43.91 kB / 1.264 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.4141, allocations: 7.938 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.4141, allocations: 15.98 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.4142, allocations: 31.84 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4142, allocations: 4 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.4146, allocations: 207.7 kB / 1.265 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.4146, allocations: 15.94 kB / 1.265 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.4147, allocations: 23.86 kB / 1.265 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.415, allocations: 187.4 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.415, allocations: 0 / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.415, allocations: 0 / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.415, allocations: 0 / 1.265 GB, free: 10.29 MB / 0.9825 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.0007115/0.4157, allocations: 442.4 kB / 1.265 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4158, allocations: 8.031 kB / 1.265 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.4158, allocations: 12.89 kB / 1.265 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.416, allocations: 176.3 kB / 1.265 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.416, allocations: 4.359 kB / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.416, allocations: 12.3 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.4162, allocations: 102 kB / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4162, allocations: 0 / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4163, allocations: 0 / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4163, allocations: 0 / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4164, allocations: 59.95 kB / 1.266 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.4166, allocations: 181.6 kB / 1.266 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4167, allocations: 78.56 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.4168, allocations: 68.78 kB / 1.266 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.4168, allocations: 0 / 1.266 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4169, allocations: 42.5 kB / 1.266 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4169, allocations: 0 / 1.266 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005184/0.4174, allocations: 251.2 kB / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.4174, allocations: 81.14 kB / 1.266 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.4176, allocations: 148.2 kB / 1.266 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4176, allocations: 25.7 kB / 1.266 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.4177, allocations: 96.08 kB / 1.266 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.4178, allocations: 7.953 kB / 1.266 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.4178, allocations: 25.72 kB / 1.266 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.418, allocations: 318.8 kB / 1.267 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4182, allocations: 103.9 kB / 1.267 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4183, allocations: 107.9 kB / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.4186, allocations: 277.8 kB / 1.267 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4186, allocations: 0 / 1.267 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003871/0.419, allocations: 316.9 kB / 1.268 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.4191, allocations: 75.33 kB / 1.268 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4191, allocations: 0 / 1.268 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4191, allocations: 0 / 1.268 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.4191, allocations: 7.938 kB / 1.268 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4191, allocations: 0 / 1.268 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4193, allocations: 15.94 kB / 1.268 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.4193, allocations: 8 kB / 1.268 GB, free: 7.016 MB / 0.9825 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.0002396/0.4196, allocations: 155.5 kB / 1.268 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.4196, allocations: 11.89 kB / 1.268 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.4196, allocations: 4.25 kB / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4196, allocations: 0 / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4196, allocations: 0 / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.4197, allocations: 89.05 kB / 1.268 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4197, allocations: 0 / 1.268 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.4197, allocations: 8 kB / 1.268 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.4198, allocations: 11.98 kB / 1.268 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003526/0.4202, allocations: 326 kB / 1.268 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004657/0.4206, allocations: 380.4 kB / 1.269 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001328/0.4208, allocations: 71.92 kB / 1.269 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.4208, allocations: 111.2 kB / 1.269 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of Backend: time 1.2e-07/0.4208, allocations: 64 / 1.269 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008351/0.4217, allocations: 394 kB / 1.269 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006021/0.4223, allocations: 0.6534 MB / 1.27 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of Templates: time 0.005729/0.428, allocations: 2.085 MB / 1.272 GB, free: 2.574 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches