Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0009175/0.0009234, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007288/0.007288, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005651/0.0005653, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8611/0.8617, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001026/0.8628, allocations: 355.1 kB / 0.9554 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.8653, allocations: 1.391 MB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.8654, allocations: 1.031 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.153e-05/0.8655, allocations: 0 / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.8655, allocations: 6.062 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.8663, allocations: 141 kB / 0.9569 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.8664, allocations: 41.62 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.8665, allocations: 1.156 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.8666, allocations: 18.73 kB / 0.9569 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.8667, allocations: 28.17 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.8667, allocations: 3.156 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.8672, allocations: 186.7 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.8673, allocations: 15.08 kB / 0.9572 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.8673, allocations: 53.05 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.8677, allocations: 187.2 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8677, allocations: 0 / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8677, allocations: 0 / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8677, allocations: 0 / 0.9574 GB, free: 5.906 MB / 0.7169 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.0004333/0.8682, allocations: 432.7 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.8682, allocations: 9.812 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.8683, allocations: 8.531 kB / 0.9578 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.8684, allocations: 178.6 kB / 0.958 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.8684, allocations: 1.562 kB / 0.958 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.8685, allocations: 6.5 kB / 0.958 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.8687, allocations: 98.55 kB / 0.9581 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.8687, allocations: 3.938 kB / 0.9581 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.8687, allocations: 3.938 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8687, allocations: 1.312 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.8688, allocations: 60.36 kB / 0.9582 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.869, allocations: 176.3 kB / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8692, allocations: 80.97 kB / 0.9584 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.8693, allocations: 70.05 kB / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.8693, allocations: 3.984 kB / 0.9585 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8693, allocations: 35.72 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.8693, allocations: 3.938 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004422/0.8698, allocations: 255.6 kB / 0.9588 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.8698, allocations: 82.47 kB / 0.9588 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.87, allocations: 142.8 kB / 0.959 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.87, allocations: 31.11 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.87, allocations: 96.25 kB / 0.9591 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.8701, allocations: 9.188 kB / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.8701, allocations: 24.58 kB / 0.9591 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.8702, allocations: 312.2 kB / 0.9594 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.8703, allocations: 104.1 kB / 0.9595 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.8705, allocations: 100.4 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.8707, allocations: 283.9 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8708, allocations: 0 / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004065/0.8712, allocations: 322.8 kB / 0.9602 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.8712, allocations: 70.39 kB / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8713, allocations: 1.375 kB / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.8713, allocations: 0 / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.8713, allocations: 0 / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8713, allocations: 1.375 kB / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.8715, allocations: 17.33 kB / 0.9603 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.8715, allocations: 8.109 kB / 0.9603 GB, free: 3.531 MB / 0.7169 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 8.539e-05/0.8716, allocations: 150.6 kB / 0.9604 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.8716, allocations: 11.97 kB / 0.9605 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.8716, allocations: 9.625 kB / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8716, allocations: 1.375 kB / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8716, allocations: 0 / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8716, allocations: 3.984 kB / 0.9605 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.8717, allocations: 164.7 kB / 0.9606 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8717, allocations: 5.375 kB / 0.9606 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-06/0.8717, allocations: 3.938 kB / 0.9606 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.8718, allocations: 3.984 kB / 0.9606 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.8718, allocations: 10.69 kB / 0.9606 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8718, allocations: 4 kB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8718, allocations: 5.312 kB / 0.9607 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.872, allocations: 224.3 kB / 0.9609 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.8721, allocations: 87.05 kB / 0.961 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.8721, allocations: 6.5 kB / 0.961 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.8722, allocations: 3.781 kB / 0.961 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.8722, allocations: 8.047 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.8722, allocations: 9.875 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.8723, allocations: 107.3 kB / 0.9611 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8723, allocations: 0 / 0.9611 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003525/0.8727, allocations: 68.22 kB / 0.9611 GB, free: 2.773 MB / 0.7169 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.0003041/0.873, allocations: 152.4 kB / 0.9613 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.8734, allocations: 373.2 kB / 0.9616 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8734, allocations: 0 / 0.9616 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.8735, allocations: 139.8 kB / 0.9618 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.8737, allocations: 13.02 kB / 0.9618 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.8741, allocations: 211 kB / 0.962 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.8742, allocations: 0.6942 MB / 0.9627 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.242e-06/0.8742, allocations: 1.156 kB / 0.9627 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-06/0.8742, allocations: 11.5 kB / 0.9627 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8742, allocations: 0 / 0.9627 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.005238/0.8795, allocations: 1.913 MB / 0.9646 GB, free: 0.5039 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches