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.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.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.001149/0.001149, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009163/0.009163, allocations: 172.4 kB / 16.26 MB, free: 6.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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.254 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.558/2.558, allocations: 390.9 MB / 0.6663 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9261, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0009922/0.9271, allocations: 369.1 kB / 0.9554 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000652/0.9278, allocations: 197.3 kB / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.9279, allocations: 0 / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.9279, allocations: 0 / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.9282, allocations: 10.48 kB / 0.9556 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.9285, allocations: 62.36 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.9286, allocations: 36.31 kB / 0.9557 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.9287, allocations: 2.25 kB / 0.9557 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.9288, allocations: 9.453 kB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.9289, allocations: 22.92 kB / 0.9557 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.929, allocations: 6.031 kB / 0.9557 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.9292, allocations: 110.7 kB / 0.9558 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.9292, allocations: 12.91 kB / 0.9558 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.9293, allocations: 44.08 kB / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.9295, allocations: 97.38 kB / 0.956 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9295, allocations: 1.344 kB / 0.956 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.577e-06/0.9295, allocations: 0 / 0.956 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9296, allocations: 0 / 0.956 GB, free: 7.023 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006621/0.9302, allocations: 371.7 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.9303, allocations: 8.531 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.9303, allocations: 7.188 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.9305, allocations: 180.8 kB / 0.9565 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.9305, allocations: 1.562 kB / 0.9565 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.9305, allocations: 5.531 kB / 0.9565 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.9307, allocations: 60.58 kB / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.9307, allocations: 192 / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.9307, allocations: 7.922 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9307, allocations: 1.531 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.9309, allocations: 39.16 kB / 0.9566 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.9312, allocations: 250.8 kB / 0.9569 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.9314, allocations: 81.91 kB / 0.957 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.9315, allocations: 32.69 kB / 0.957 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.9316, allocations: 3.969 kB / 0.957 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.9316, allocations: 30.56 kB / 0.957 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9316, allocations: 0 / 0.957 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02994/0.9615, allocations: 1.761 MB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.9616, allocations: 55.39 kB / 0.9588 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.9617, allocations: 120.8 kB / 0.9589 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.9618, allocations: 29.7 kB / 0.9589 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.9619, allocations: 85.52 kB / 0.959 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.9619, allocations: 27.67 kB / 0.959 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.962, allocations: 15.09 kB / 0.9591 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.9621, allocations: 321.5 kB / 0.9594 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.9626, allocations: 166.4 kB / 0.9595 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.9631, allocations: 162.3 kB / 0.9597 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.9642, allocations: 330 kB / 0.96 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9642, allocations: 0 / 0.96 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001258/0.9654, allocations: 382.7 kB / 0.9604 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9655, allocations: 5.156 kB / 0.9604 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9655, allocations: 4 kB / 0.9604 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.9655, allocations: 1 kB / 0.9604 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.9672, allocations: 78.17 kB / 0.9604 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9672, allocations: 0.9688 kB / 0.9604 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.9687, allocations: 60.94 kB / 0.9605 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.9688, allocations: 7.016 kB / 0.9605 GB, free: 4.039 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: 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.0001745/0.969, allocations: 124.5 kB / 0.9606 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.9691, allocations: 9.891 kB / 0.9606 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.9692, allocations: 19.38 kB / 0.9607 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.9692, allocations: 4.938 kB / 0.9607 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9692, allocations: 1.031 kB / 0.9607 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9692, allocations: 0 / 0.9607 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.9754, allocations: 0.9136 MB / 0.9615 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.9754, allocations: 1.406 kB / 0.9616 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.9767, allocations: 74.81 kB / 0.9616 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.9767, allocations: 1.312 kB / 0.9616 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.9767, allocations: 10.94 kB / 0.9616 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.9767, allocations: 4.812 kB / 0.9616 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9767, allocations: 0.9375 kB / 0.9616 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.9777, allocations: 369.6 kB / 0.962 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.9778, allocations: 85 kB / 0.9621 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.9778, allocations: 3.594 kB / 0.9621 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.979, allocations: 52.23 kB / 0.9621 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.979, allocations: 11 kB / 0.9621 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.9791, allocations: 6.641 kB / 0.9621 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.9791, allocations: 98.61 kB / 0.9622 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9791, allocations: 0 / 0.9622 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004394/0.9796, allocations: 88.66 kB / 0.9623 GB, free: 2.723 MB / 0.7169 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.0002499/0.9798, allocations: 121.7 kB / 0.9624 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.9809, allocations: 287.6 kB / 0.9627 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9809, allocations: 0 / 0.9627 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.9814, allocations: 121.8 kB / 0.9628 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.9817, allocations: 7.188 kB / 0.9628 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.9847, allocations: 343.7 kB / 0.9632 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.9848, allocations: 0.692 MB / 0.9638 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004983/0.9853, allocations: 51.5 kB / 0.9639 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.9858, allocations: 34.34 kB / 0.9639 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.9858, allocations: 0 / 0.9639 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.0173/1.003, allocations: 8.422 MB / 0.9721 GB, free: 12.96 MB / 0.7325 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 -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/jenkins/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