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.001099/0.001099, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001555/0.001555, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.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.502/2.502, allocations: 390.9 MB / 0.666 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003864, allocations: 16 kB / 0.8154 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.874, allocations: 142.4 MB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007687/0.8748, allocations: 359.9 kB / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003807/0.8752, allocations: 176.9 kB / 0.955 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.8753, allocations: 0 / 0.955 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.8753, allocations: 3.938 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.8755, allocations: 6.078 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.8756, allocations: 69.17 kB / 0.955 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.706e-05/0.8757, allocations: 21.98 kB / 0.9551 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.8758, allocations: 6.422 kB / 0.9551 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.8758, allocations: 18.25 kB / 0.9551 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.8759, allocations: 25.73 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.8759, allocations: 2.438 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.8761, allocations: 97.23 kB / 0.9552 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.8761, allocations: 9.359 kB / 0.9552 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.8761, allocations: 27.2 kB / 0.9552 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.8762, allocations: 65.94 kB / 0.9553 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8762, allocations: 0 / 0.9553 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8763, allocations: 0 / 0.9553 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.8763, allocations: 1.531 kB / 0.9553 GB, free: 7.07 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.0004198/0.8767, allocations: 366.6 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8767, allocations: 8.625 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.8768, allocations: 14.11 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.8769, allocations: 167 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.8769, allocations: 1.75 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.8769, allocations: 1.906 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8771, allocations: 66.81 kB / 0.9559 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8771, allocations: 1.062 kB / 0.9559 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.8771, allocations: 4 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.8771, allocations: 1.344 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.8772, allocations: 42.8 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.8775, allocations: 250.5 kB / 0.9562 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.8777, allocations: 90.77 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.8778, allocations: 23.34 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.8778, allocations: 1.094 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.8778, allocations: 35.53 kB / 0.9563 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8778, allocations: 0 / 0.9563 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02232/0.9001, allocations: 1.754 MB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.9002, allocations: 56.69 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.9003, allocations: 126.6 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.9004, allocations: 27.23 kB / 0.9582 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.9005, allocations: 89.27 kB / 0.9583 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.9005, allocations: 27.5 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.9006, allocations: 0 / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.9007, allocations: 320.1 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.9011, allocations: 158.3 kB / 0.9588 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.9016, allocations: 163.4 kB / 0.959 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.9021, allocations: 160 kB / 0.9591 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.9022, allocations: 0 / 0.9591 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001207/0.9034, allocations: 385.7 kB / 0.9595 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.9034, allocations: 10.58 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9034, allocations: 1.297 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.9034, allocations: 0 / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.9048, allocations: 85.75 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.9048, allocations: 1.656 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.9059, allocations: 57 kB / 0.9596 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.906, allocations: 10.14 kB / 0.9596 GB, free: 4.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.9061, allocations: 117.2 kB / 0.9598 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.9062, allocations: 9.844 kB / 0.9598 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.9064, allocations: 27.34 kB / 0.9598 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.9064, allocations: 1.312 kB / 0.9598 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9064, allocations: 3.938 kB / 0.9598 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9064, allocations: 0 / 0.9598 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/0.9111, allocations: 0.9064 MB / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.9111, allocations: 0 / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/0.912, allocations: 79.97 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9121, allocations: 0.9688 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.9121, allocations: 15.09 kB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.9121, allocations: 1.094 kB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9121, allocations: 1.094 kB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009231/0.9131, allocations: 370.6 kB / 0.9611 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.9131, allocations: 87.25 kB / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.9132, allocations: 9.156 kB / 0.9612 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/0.914, allocations: 43.89 kB / 0.9613 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.914, allocations: 7.906 kB / 0.9613 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.9141, allocations: 11.91 kB / 0.9613 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.9141, allocations: 99.39 kB / 0.9614 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9141, allocations: 1.281 kB / 0.9614 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000457/0.9146, allocations: 90.44 kB / 0.9615 GB, free: 2.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002496/0.9149, allocations: 120.9 kB / 0.9616 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000987/0.9158, allocations: 283.4 kB / 0.9619 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9159, allocations: 0 / 0.9619 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.9163, allocations: 121.4 kB / 0.962 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.9166, allocations: 16.78 kB / 0.962 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.9188, allocations: 338.8 kB / 0.9623 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.919, allocations: 0.6871 MB / 0.963 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005232/0.9195, allocations: 56.06 kB / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.92, allocations: 30.59 kB / 0.9631 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/0.92, allocations: 3.938 kB / 0.9631 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.01513/0.9351, allocations: 8.163 MB / 0.971 GB, free: 13.2 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