Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 169.3 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9471/0.9471, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8116 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.166e-05, allocations: 6.25 kB / 0.8116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001769/0.001801, allocations: 0.6508 MB / 0.8122 GB, free: 272 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.002232, allocations: 182.4 kB / 0.8124 GB, free: 92 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.002274, allocations: 4 kB / 0.8124 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.002294, allocations: 3.938 kB / 0.8124 GB, free: 84 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.002486, allocations: 5 kB / 0.8124 GB, free: 80 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.002718, allocations: 75.69 kB / 0.8125 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.002818, allocations: 33.16 kB / 0.8125 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.002865, allocations: 4 kB / 0.8125 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.582e-05/0.002921, allocations: 15.97 kB / 0.8125 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.002991, allocations: 16.58 kB / 0.8125 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.003008, allocations: 0 / 0.8125 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.003136, allocations: 53.06 kB / 0.8126 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.003154, allocations: 8 kB / 0.8126 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.003181, allocations: 19.91 kB / 0.8126 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.003366, allocations: 88.28 kB / 0.8127 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003368, allocations: 3.938 kB / 0.8127 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003369, allocations: 2.406 kB / 0.8127 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.003375, allocations: 0 / 0.8127 GB, free: 15.77 MB / 0.7292 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.0005183/0.003893, allocations: 392 kB / 0.8131 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.003941, allocations: 12.03 kB / 0.8131 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.003988, allocations: 4.891 kB / 0.8131 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004116, allocations: 118.1 kB / 0.8132 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004129, allocations: 384 / 0.8132 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.004152, allocations: 4.375 kB / 0.8132 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.004304, allocations: 58.94 kB / 0.8133 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.004317, allocations: 9.203 kB / 0.8133 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.00433, allocations: 4.359 kB / 0.8133 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.004339, allocations: 384 / 0.8133 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.004387, allocations: 16.5 kB / 0.8133 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.004671, allocations: 252.3 kB / 0.8135 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/0.004769, allocations: 47.11 kB / 0.8136 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.004802, allocations: 17.06 kB / 0.8136 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.00482, allocations: 4 kB / 0.8136 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.004847, allocations: 33.39 kB / 0.8136 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.004848, allocations: 1.156 kB / 0.8136 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.01619/0.02104, allocations: 1.49 MB / 0.8151 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.02109, allocations: 59.39 kB / 0.8152 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.02122, allocations: 173.9 kB / 0.8153 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.02128, allocations: 30.83 kB / 0.8154 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.02134, allocations: 134.8 kB / 0.8155 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.02139, allocations: 31.73 kB / 0.8155 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.02153, allocations: 32.52 kB / 0.8155 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.02165, allocations: 496.1 kB / 0.816 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.02191, allocations: 104 kB / 0.8161 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.02216, allocations: 104.5 kB / 0.8162 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.02267, allocations: 220.8 kB / 0.8164 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02267, allocations: 0 / 0.8164 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006625/0.02333, allocations: 265.5 kB / 0.8167 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.02335, allocations: 9 kB / 0.8167 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.02336, allocations: 3.938 kB / 0.8167 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.02338, allocations: 4 kB / 0.8167 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.02411, allocations: 61.28 kB / 0.8168 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.02412, allocations: 0 / 0.8168 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.02467, allocations: 39.95 kB / 0.8168 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.02471, allocations: 5.094 kB / 0.8168 GB, free: 11.41 MB / 0.7292 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.0001379/0.02485, allocations: 156.6 kB / 0.8169 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.02493, allocations: 12.55 kB / 0.817 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/0.02502, allocations: 25.62 kB / 0.817 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.02503, allocations: 0 / 0.817 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.02503, allocations: 0 / 0.817 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.02504, allocations: 0 / 0.817 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.0277, allocations: 0.654 MB / 0.8176 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.0277, allocations: 3.984 kB / 0.8176 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.02818, allocations: 47.95 kB / 0.8177 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.02818, allocations: 0 / 0.8177 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.02821, allocations: 11.98 kB / 0.8177 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.02822, allocations: 0.7188 kB / 0.8177 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02822, allocations: 0 / 0.8177 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.02874, allocations: 284.8 kB / 0.818 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.02875, allocations: 7.938 kB / 0.818 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.0288, allocations: 4 kB / 0.818 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.02923, allocations: 40.03 kB / 0.818 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.02925, allocations: 3.984 kB / 0.818 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.02928, allocations: 4 kB / 0.818 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.02933, allocations: 139.2 kB / 0.8181 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02933, allocations: 0 / 0.8181 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002881/0.02961, allocations: 95.81 kB / 0.8182 GB, free: 9.855 MB / 0.7292 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.0002235/0.02984, allocations: 123.1 kB / 0.8184 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.03037, allocations: 171.6 kB / 0.8185 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03037, allocations: 0 / 0.8185 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.03056, allocations: 63.59 kB / 0.8186 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.03079, allocations: 11.94 kB / 0.8186 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.03207, allocations: 257.5 kB / 0.8188 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.03212, allocations: 61.78 kB / 0.8189 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002647/0.03238, allocations: 48.12 kB / 0.8189 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.03269, allocations: 24.48 kB / 0.819 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of SimCode: time 1.683e-06/0.0327, allocations: 4 kB / 0.819 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of Templates: time 0.01093/0.04362, allocations: 9.876 MB / 0.8286 GB, free: 15.13 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.337216404965147]