Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008033/0.0008033, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009447/0.0009447, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 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.9254/0.9254, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.978/1.978, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.336e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001012/0.001025, allocations: 0.6597 MB / 0.8789 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.00133, allocations: 171.4 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.00136, allocations: 3.25 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.001381, allocations: 3.938 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.001538, allocations: 15.8 kB / 0.8791 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.001708, allocations: 67.81 kB / 0.8791 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.00177, allocations: 31.86 kB / 0.8792 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.001816, allocations: 11.97 kB / 0.8792 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.001871, allocations: 15.98 kB / 0.8792 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.001923, allocations: 12.86 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.001939, allocations: 4 kB / 0.8792 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.002028, allocations: 43.89 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.002045, allocations: 16.94 kB / 0.8793 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.002063, allocations: 8 kB / 0.8793 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.002193, allocations: 99.64 kB / 0.8794 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002195, allocations: 1.125 kB / 0.8794 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002195, allocations: 0 / 0.8794 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.002199, allocations: 0 / 0.8794 GB, free: 5.152 MB / 0.8386 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.0004082/0.002607, allocations: 389.5 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.002642, allocations: 8.031 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.002979, allocations: 57.44 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.003076, allocations: 125.3 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003087, allocations: 384 / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.003109, allocations: 7.812 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.00325, allocations: 86.83 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.00326, allocations: 192 / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.003273, allocations: 384 / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.00328, allocations: 384 / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.003362, allocations: 39.86 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.003598, allocations: 259.8 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.003753, allocations: 63.05 kB / 0.8803 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.003809, allocations: 28.36 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.003824, allocations: 4 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.003845, allocations: 38.52 kB / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.003845, allocations: 0 / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.01187/0.01572, allocations: 1.377 MB / 0.8818 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.01576, allocations: 51.41 kB / 0.8818 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.01585, allocations: 185.9 kB / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.0159, allocations: 25.7 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.01595, allocations: 138.8 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.016, allocations: 19.81 kB / 0.8822 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.01613, allocations: 31.36 kB / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01624, allocations: 0.4923 MB / 0.8827 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.01649, allocations: 108 kB / 0.8828 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.01674, allocations: 112 kB / 0.8829 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.01727, allocations: 244.1 kB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01727, allocations: 0 / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006757/0.01795, allocations: 293.5 kB / 0.8834 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01796, allocations: 10.03 kB / 0.8834 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01797, allocations: 3.984 kB / 0.8834 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01799, allocations: 4 kB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.01869, allocations: 55.94 kB / 0.8835 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.0187, allocations: 0 / 0.8835 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.01927, allocations: 47.94 kB / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.01931, allocations: 0 / 0.8835 GB, free: 0.6953 MB / 0.8386 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.0001267/0.01944, allocations: 160.6 kB / 0.8837 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.01951, allocations: 11.89 kB / 0.8837 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/0.01959, allocations: 20.44 kB / 0.8837 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0196, allocations: 4 kB / 0.8837 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.0196, allocations: 3.938 kB / 0.8837 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01961, allocations: 7.922 kB / 0.8837 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.0222, allocations: 0.6745 MB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.0222, allocations: 0 / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.0227, allocations: 56 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.0227, allocations: 0 / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.02274, allocations: 4 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02274, allocations: 0 / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02274, allocations: 0 / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.02328, allocations: 315.1 kB / 0.8847 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.02329, allocations: 3.953 kB / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.02334, allocations: 4 kB / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.02378, allocations: 35.95 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.0238, allocations: 7.984 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.02383, allocations: 12 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.02387, allocations: 131.2 kB / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02387, allocations: 0 / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002358/0.0241, allocations: 95.94 kB / 0.885 GB, free: 15.07 MB / 0.8542 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.0001081/0.02421, allocations: 99.19 kB / 0.8851 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.02474, allocations: 191.6 kB / 0.8853 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02474, allocations: 0 / 0.8853 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.02494, allocations: 71.66 kB / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.02514, allocations: 12.11 kB / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.02639, allocations: 277.5 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.555e-05/0.02643, allocations: 59.34 kB / 0.8857 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000258/0.02668, allocations: 56 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.02703, allocations: 20.48 kB / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.02703, allocations: 0 / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.009788/0.03682, allocations: 10.64 MB / 0.8961 GB, free: 3.523 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.377234171144664]