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.0009284/0.0009284, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001479/0.001479, allocations: 173 kB / 23.5 MB, free: 1.055 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 1.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.602 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 2.074/2.074, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.573e-06/1.573e-06, allocations: 0 / 0.8782 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.743e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001307/0.001334, allocations: 0.6479 MB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003359/0.00167, allocations: 175.3 kB / 0.879 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.001703, allocations: 5.125 kB / 0.879 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.00172, allocations: 3.938 kB / 0.8791 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.001893, allocations: 17.5 kB / 0.8791 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.002063, allocations: 73.45 kB / 0.8791 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.002127, allocations: 23.92 kB / 0.8792 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.002169, allocations: 7.406 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.002219, allocations: 15.92 kB / 0.8792 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.002278, allocations: 23.95 kB / 0.8792 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.002293, allocations: 0 / 0.8792 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.002389, allocations: 47.83 kB / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.002405, allocations: 11.98 kB / 0.8793 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.002426, allocations: 7.938 kB / 0.8793 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.002565, allocations: 107.6 kB / 0.8794 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002567, allocations: 0 / 0.8794 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002568, allocations: 0.5938 kB / 0.8794 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002573, allocations: 0 / 0.8794 GB, free: 5.426 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.0004194/0.002992, allocations: 385.9 kB / 0.8797 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.003031, allocations: 12.03 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.003392, allocations: 54.38 kB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.003501, allocations: 120.5 kB / 0.8799 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.003513, allocations: 4.375 kB / 0.8799 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.003537, allocations: 4.375 kB / 0.8799 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.003689, allocations: 84.36 kB / 0.88 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.003699, allocations: 192 / 0.88 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.003714, allocations: 384 / 0.88 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.003723, allocations: 8.359 kB / 0.88 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.00381, allocations: 43.86 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.004046, allocations: 251.8 kB / 0.8803 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.004199, allocations: 63.05 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.004252, allocations: 27.69 kB / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.004269, allocations: 4.078 kB / 0.8804 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.00429, allocations: 37.39 kB / 0.8804 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004291, allocations: 0 / 0.8804 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.01176/0.01606, allocations: 1.382 MB / 0.8818 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.0161, allocations: 51.41 kB / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.0162, allocations: 169.9 kB / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.01625, allocations: 33.7 kB / 0.882 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.01631, allocations: 138.8 kB / 0.8822 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.01636, allocations: 23.8 kB / 0.8822 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.01649, allocations: 35.36 kB / 0.8822 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01659, allocations: 496.1 kB / 0.8827 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.01685, allocations: 112 kB / 0.8828 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.01711, allocations: 116 kB / 0.8829 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.01765, allocations: 244.1 kB / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01766, allocations: 8 kB / 0.8831 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006964/0.01835, allocations: 285.4 kB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01837, allocations: 8 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.01837, allocations: 0 / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01839, allocations: 0 / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.01909, allocations: 55.94 kB / 0.8835 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.01909, allocations: 4 kB / 0.8835 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.01966, allocations: 43.95 kB / 0.8835 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.0197, allocations: 7.984 kB / 0.8835 GB, free: 0.9648 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.0001289/0.01983, allocations: 156.6 kB / 0.8837 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.01991, allocations: 15.89 kB / 0.8837 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.02, allocations: 20.44 kB / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02, allocations: 0 / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02001, allocations: 0 / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02001, allocations: 0 / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.0226, allocations: 0.6823 MB / 0.8844 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0226, allocations: 0 / 0.8844 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.02317, allocations: 48.02 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.02318, allocations: 4 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.02321, allocations: 3.984 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02321, allocations: 0 / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02321, allocations: 4 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.02376, allocations: 307 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.02377, allocations: 11.94 kB / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.02383, allocations: 4 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.02427, allocations: 44.02 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.02428, allocations: 0 / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.02431, allocations: 7.984 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.02436, allocations: 135.2 kB / 0.8849 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02436, allocations: 0 / 0.8849 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002562/0.02461, allocations: 95.94 kB / 0.885 GB, free: 15.35 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.0001299/0.02474, allocations: 102.2 kB / 0.8851 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.02528, allocations: 191.6 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02529, allocations: 0 / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.02549, allocations: 71.59 kB / 0.8854 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.02572, allocations: 16.12 kB / 0.8854 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.02701, allocations: 281.3 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.02705, allocations: 63.34 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.02733, allocations: 56.12 kB / 0.8858 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.02768, allocations: 16.48 kB / 0.8858 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.02768, allocations: 4 kB / 0.8858 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.009951/0.03763, allocations: 10.39 MB / 0.8959 GB, free: 4.043 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.758924716152251]