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.001233/0.001233, allocations: 103.4 kB / 16.27 MB, free: 5.969 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.001335/0.001335, allocations: 191.6 kB / 17.2 MB, free: 5.594 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.6654 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 64.84 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2811, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002029/0.2831, allocations: 0.6136 MB / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2851, allocations: 1.379 MB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.2852, allocations: 4 kB / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.2853, allocations: 0 / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.2853, allocations: 3.938 kB / 0.9522 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.2861, allocations: 187.5 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2862, allocations: 51.83 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.2863, allocations: 8 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.2863, allocations: 11.98 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.2864, allocations: 27.91 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2864, allocations: 4 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.2867, allocations: 199.7 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.2868, allocations: 7.938 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.2869, allocations: 27.86 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.2872, allocations: 187.9 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2872, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2872, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2872, allocations: 0 / 0.9529 GB, free: 6.129 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.0004878/0.2877, allocations: 448 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2877, allocations: 8.031 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.2878, allocations: 8.844 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.288, allocations: 178.8 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.288, allocations: 8.375 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.288, allocations: 4.312 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2882, allocations: 101.9 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2882, allocations: 0 / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2882, allocations: 4 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2882, allocations: 0 / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.2884, allocations: 59.95 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.2886, allocations: 177.5 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.2887, allocations: 86.53 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.2888, allocations: 68.83 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2888, allocations: 4 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2889, allocations: 34.5 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2889, allocations: 0 / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004629/0.2893, allocations: 251.2 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.2894, allocations: 77.11 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.2896, allocations: 145.8 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2897, allocations: 37.73 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.2897, allocations: 92.03 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.2897, allocations: 7.906 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.2898, allocations: 29.7 kB / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2899, allocations: 314.8 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2901, allocations: 111.9 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2902, allocations: 99.94 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.2905, allocations: 277.9 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2905, allocations: 4.031 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003502/0.2908, allocations: 320.8 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/0.2909, allocations: 71.39 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2909, allocations: 0 / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.291, allocations: 4 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.291, allocations: 0 / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.291, allocations: 3.984 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.2911, allocations: 11.84 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.2912, allocations: 4 kB / 0.9558 GB, free: 2.852 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.0001185/0.2913, allocations: 159.5 kB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.2913, allocations: 11.84 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.2913, allocations: 4.25 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2913, allocations: 0 / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2913, allocations: 7.984 kB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2914, allocations: 7.938 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.2915, allocations: 169.7 kB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2915, allocations: 0 / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-06/0.2915, allocations: 7.922 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2915, allocations: 0 / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.2915, allocations: 7.938 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2915, allocations: 0 / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2915, allocations: 4 kB / 0.9562 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.2918, allocations: 222.6 kB / 0.9564 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2919, allocations: 85.05 kB / 0.9565 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2919, allocations: 0 / 0.9565 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.2919, allocations: 4 kB / 0.9565 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.292, allocations: 15.92 kB / 0.9565 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.292, allocations: 8.031 kB / 0.9565 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.2921, allocations: 113.7 kB / 0.9566 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2921, allocations: 0 / 0.9566 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002869/0.2924, allocations: 60 kB / 0.9567 GB, free: 1.871 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.0003496/0.2928, allocations: 151.2 kB / 0.9568 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.2932, allocations: 366.7 kB / 0.9572 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2932, allocations: 0 / 0.9572 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.2933, allocations: 143.4 kB / 0.9573 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.2935, allocations: 4.141 kB / 0.9573 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.2939, allocations: 243.2 kB / 0.9575 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2942, allocations: 0.6963 MB / 0.9582 GB, free: 188 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.2942, allocations: 11.38 kB / 0.9582 GB, free: 176 kB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.2942, allocations: 64 / 0.9582 GB, free: 176 kB / 0.7325 GB Notification: Performance of Templates: time 0.003603/0.2979, allocations: 1.67 MB / 0.9599 GB, free: 14.51 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 -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