Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.00115/0.00115, allocations: 189 kB / 17.3 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.15 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 2.002/2.002, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 65.19 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2321, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001573/0.2337, allocations: 0.6311 MB / 0.9518 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.234, allocations: 199.1 kB / 0.952 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.2341, allocations: 4 kB / 0.952 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.2341, allocations: 3.938 kB / 0.952 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.2342, allocations: 15.92 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.2344, allocations: 75.75 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.2345, allocations: 19.98 kB / 0.9521 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.2345, allocations: 3.984 kB / 0.9521 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.2346, allocations: 19.92 kB / 0.9521 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.2346, allocations: 19.91 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2346, allocations: 4 kB / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2348, allocations: 111.7 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.2348, allocations: 11.91 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.2348, allocations: 15.88 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.235, allocations: 99.81 kB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.235, allocations: 0 / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.235, allocations: 0 / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.235, allocations: 4 kB / 0.9523 GB, free: 6.836 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004509/0.2355, allocations: 363.3 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.2355, allocations: 16.03 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.2355, allocations: 12.8 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2357, allocations: 172.2 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.2357, allocations: 4.375 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2357, allocations: 384 / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2358, allocations: 62.22 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2358, allocations: 4.172 kB / 0.9529 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2359, allocations: 3.938 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2359, allocations: 0 / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.236, allocations: 35.97 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.2362, allocations: 245 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.2364, allocations: 70.41 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.2365, allocations: 32.92 kB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2365, allocations: 0 / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.2365, allocations: 30.56 kB / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2365, allocations: 0 / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0237/0.2602, allocations: 1.612 MB / 0.9549 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2603, allocations: 59.41 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.2604, allocations: 109.8 kB / 0.9551 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.2605, allocations: 37.62 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.2605, allocations: 88.05 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.2606, allocations: 23.66 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.2608, allocations: 25.7 kB / 0.9553 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2609, allocations: 322.8 kB / 0.9556 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.2613, allocations: 143.9 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.2618, allocations: 139.9 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.2626, allocations: 301.3 kB / 0.9561 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2627, allocations: 0 / 0.9561 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001057/0.2637, allocations: 337.4 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2637, allocations: 4 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2638, allocations: 0 / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2638, allocations: 0 / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.2651, allocations: 63.94 kB / 0.9565 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2651, allocations: 7.922 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.2663, allocations: 47.95 kB / 0.9566 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.2664, allocations: 4 kB / 0.9566 GB, free: 2.285 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001491/0.2666, allocations: 123.7 kB / 0.9567 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2666, allocations: 7.906 kB / 0.9567 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.2668, allocations: 20.38 kB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2668, allocations: 0 / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2668, allocations: 4 kB / 0.9567 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2668, allocations: 4 kB / 0.9567 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/0.2718, allocations: 0.8338 MB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2718, allocations: 0 / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/0.2728, allocations: 55.88 kB / 0.9576 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.2728, allocations: 4 kB / 0.9576 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.2728, allocations: 3.984 kB / 0.9576 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2729, allocations: 3.938 kB / 0.9576 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2729, allocations: 4 kB / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.2738, allocations: 321.6 kB / 0.9579 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.2738, allocations: 81.02 kB / 0.958 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.2739, allocations: 4 kB / 0.958 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008905/0.2748, allocations: 47.89 kB / 0.958 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.2748, allocations: 15.91 kB / 0.958 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.2749, allocations: 4 kB / 0.958 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.2749, allocations: 95.3 kB / 0.9581 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.275, allocations: 0 / 0.9581 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003518/0.2753, allocations: 96 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001991/0.2755, allocations: 119.2 kB / 0.9583 GB, free: 340 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008935/0.2764, allocations: 251.8 kB / 0.9586 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2764, allocations: 0 / 0.9586 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.2768, allocations: 95.98 kB / 0.9587 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.2771, allocations: 4 kB / 0.9587 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.2793, allocations: 294.6 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2796, allocations: 0.6885 MB / 0.9596 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.2799, allocations: 52 kB / 0.9597 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.2803, allocations: 15.42 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2804, allocations: 7.828 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of Templates: time 0.01093/0.2913, allocations: 8.729 MB / 0.9682 GB, free: 6.105 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches