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.001154/0.001154, allocations: 102.5 kB / 16.27 MB, free: 5.957 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.001193/0.001193, allocations: 188.2 kB / 17.19 MB, free: 5.59 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.481/1.481, allocations: 222.9 MB / 240.9 MB, free: 15.19 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.225/2.225, allocations: 390.2 MB / 0.6653 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.52 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002265/0.31, allocations: 0.6291 MB / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.3106, allocations: 191.2 kB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.3106, allocations: 0 / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.3107, allocations: 3.938 kB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.3109, allocations: 19.92 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.3112, allocations: 75.75 kB / 0.9512 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.3113, allocations: 27.86 kB / 0.9512 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.3113, allocations: 4 kB / 0.9512 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.017e-05/0.3114, allocations: 19.91 kB / 0.9512 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.3115, allocations: 19.92 kB / 0.9512 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3115, allocations: 0 / 0.9512 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3117, allocations: 111.7 kB / 0.9513 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.3117, allocations: 3.984 kB / 0.9513 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.3117, allocations: 19.86 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.312, allocations: 111.8 kB / 0.9515 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.312, allocations: 0 / 0.9515 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.312, allocations: 0 / 0.9515 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.312, allocations: 0 / 0.9515 GB, free: 7.602 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.0006071/0.3126, allocations: 371.6 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3126, allocations: 8.031 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.3127, allocations: 4.938 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3129, allocations: 172.3 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3129, allocations: 4.375 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.3129, allocations: 4.375 kB / 0.952 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3131, allocations: 54.23 kB / 0.9521 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3131, allocations: 4.172 kB / 0.9521 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3131, allocations: 3.938 kB / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3132, allocations: 4 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3133, allocations: 39.89 kB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.3136, allocations: 245 kB / 0.9523 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3139, allocations: 66.47 kB / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/0.3139, allocations: 24.94 kB / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.314, allocations: 0 / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.314, allocations: 50.42 kB / 0.9525 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.314, allocations: 0 / 0.9525 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.02841/0.3424, allocations: 1.605 MB / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3425, allocations: 55.41 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3427, allocations: 121.8 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.3428, allocations: 33.69 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.3428, allocations: 92.03 kB / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.3429, allocations: 19.66 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.3432, allocations: 29.7 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3433, allocations: 318.8 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.3438, allocations: 143.9 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.3443, allocations: 147.9 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.3453, allocations: 296.7 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3454, allocations: 0 / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001234/0.3466, allocations: 338 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3466, allocations: 8 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3466, allocations: 0 / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3467, allocations: 96 / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.3483, allocations: 63.88 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3483, allocations: 3.984 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.3497, allocations: 51.95 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.3497, allocations: 0 / 0.9557 GB, free: 3.047 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.00019/0.3499, allocations: 125.3 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.35, allocations: 3.906 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.3502, allocations: 20.38 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3502, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3502, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3502, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.3562, allocations: 0.8375 MB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3562, allocations: 4 kB / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.3573, allocations: 56 kB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3574, allocations: 0 / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.3574, allocations: 7.984 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3574, allocations: 3.938 kB / 0.9567 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3574, allocations: 0 / 0.9567 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009801/0.3584, allocations: 329 kB / 0.957 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.3585, allocations: 85.44 kB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.3586, allocations: 0 / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.3597, allocations: 51.83 kB / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.3597, allocations: 3.984 kB / 0.9572 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.3598, allocations: 12.06 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.3598, allocations: 95.27 kB / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3598, allocations: 0 / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004082/0.3603, allocations: 92 kB / 0.9574 GB, free: 1.227 MB / 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.000266/0.3605, allocations: 123.2 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.3616, allocations: 243.9 kB / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3616, allocations: 0 / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.362, allocations: 99.88 kB / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3623, allocations: 5.5 kB / 0.9578 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3652, allocations: 328.2 kB / 0.9581 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3655, allocations: 0.6899 MB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.366, allocations: 15.42 kB / 0.9588 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/0.366, allocations: 7.938 kB / 0.9588 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.009426/0.3754, allocations: 5.051 MB / 0.9638 GB, free: 10.57 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 -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