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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001247/0.001247, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.001177/0.001177, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.981/1.981, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.03 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2434, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001576/0.245, allocations: 0.6169 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2465, allocations: 1.39 MB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.2466, allocations: 0 / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.2466, allocations: 4 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.2467, allocations: 3.938 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.2472, allocations: 171.6 kB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.2473, allocations: 47.95 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.2474, allocations: 11.98 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.2474, allocations: 19.92 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.2475, allocations: 19.98 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2475, allocations: 4 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.2478, allocations: 211.6 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.2478, allocations: 11.92 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.2479, allocations: 19.88 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.2481, allocations: 187.6 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2481, allocations: 0 / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2481, allocations: 0 / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2482, allocations: 4 kB / 0.9538 GB, free: 5.32 MB / 0.7325 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.0003804/0.2485, allocations: 438.7 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2486, allocations: 12.03 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2486, allocations: 12.72 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2487, allocations: 172.3 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2487, allocations: 4.375 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2488, allocations: 4.375 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2489, allocations: 97.89 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2489, allocations: 4 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2489, allocations: 4 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.249, allocations: 0 / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.249, allocations: 59.95 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.2492, allocations: 181.6 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.2493, allocations: 78.53 kB / 0.9548 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.2494, allocations: 68.89 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.2494, allocations: 0 / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2494, allocations: 42.44 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.2494, allocations: 0 / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003399/0.2498, allocations: 255.2 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2498, allocations: 85.09 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2499, allocations: 140.1 kB / 0.9554 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.25, allocations: 33.7 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.25, allocations: 96.03 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.25, allocations: 3.906 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.2501, allocations: 33.73 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.2502, allocations: 318.8 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2503, allocations: 103.9 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.2504, allocations: 99.94 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2507, allocations: 285.8 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2507, allocations: 0 / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003255/0.251, allocations: 324.8 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.251, allocations: 71.39 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2511, allocations: 0 / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2511, allocations: 8.047 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2511, allocations: 0 / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2511, allocations: 0 / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2512, allocations: 11.84 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2512, allocations: 4 kB / 0.9567 GB, free: 2.043 MB / 0.7325 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.0001117/0.2513, allocations: 151.5 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.2514, allocations: 15.78 kB / 0.9569 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.2514, allocations: 12.23 kB / 0.9569 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2514, allocations: 0 / 0.9569 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2514, allocations: 4 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2514, allocations: 3.938 kB / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2515, allocations: 173.6 kB / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2515, allocations: 3.938 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/0.2515, allocations: 3.938 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.2515, allocations: 0 / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2516, allocations: 4 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2516, allocations: 0 / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2516, allocations: 0 / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2518, allocations: 226.6 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.2519, allocations: 85.05 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2519, allocations: 4 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.2519, allocations: 0 / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.252, allocations: 11.98 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.252, allocations: 4 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.2521, allocations: 113.8 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2521, allocations: 0 / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002595/0.2523, allocations: 60 kB / 0.9575 GB, free: 1.074 MB / 0.7325 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.0002284/0.2526, allocations: 167.2 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.2529, allocations: 362.7 kB / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2529, allocations: 0 / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.2531, allocations: 139.3 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.2532, allocations: 5.891 kB / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.2535, allocations: 209.5 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2537, allocations: 0.6964 MB / 0.9591 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.059e-06/0.2538, allocations: 0 / 0.9591 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-06/0.2538, allocations: 11.44 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of SimCode: time 1.313e-06/0.2538, allocations: 0 / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.004063/0.2578, allocations: 2.048 MB / 0.9611 GB, free: 13.36 MB / 0.7481 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 -s cvode -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/jenkins1/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