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.001286/0.001286, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001355/0.001355, allocations: 169 kB / 23.27 MB, free: 1.223 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.9829/0.9829, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.408/2.408, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.422e-06/1.422e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.413e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001328/0.001352, allocations: 0.6604 MB / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.001667, allocations: 179.2 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.001695, allocations: 0 / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.001711, allocations: 0 / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.001842, allocations: 15.81 kB / 0.8906 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.001995, allocations: 71.81 kB / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.002042, allocations: 35.84 kB / 0.8907 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.981e-05/0.002072, allocations: 4 kB / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.002116, allocations: 19.92 kB / 0.8908 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.002165, allocations: 11.97 kB / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002179, allocations: 7.938 kB / 0.8908 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.002263, allocations: 47.94 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.002276, allocations: 3.938 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.002291, allocations: 11.98 kB / 0.8908 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.002412, allocations: 103.6 kB / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002413, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002414, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.002417, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 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.000301/0.002718, allocations: 392.4 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.002749, allocations: 8.625 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.003036, allocations: 60.8 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.951e-05/0.003106, allocations: 120.5 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.003113, allocations: 384 / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.003132, allocations: 12.38 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.003237, allocations: 78.83 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.003243, allocations: 192 / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.003251, allocations: 384 / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.003255, allocations: 384 / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.00331, allocations: 39.91 kB / 0.8916 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.003479, allocations: 228.4 kB / 0.8918 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.003595, allocations: 66.98 kB / 0.8919 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.003631, allocations: 23.77 kB / 0.8919 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.003644, allocations: 8 kB / 0.8919 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.00366, allocations: 33.39 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.00366, allocations: 0 / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.01073/0.01439, allocations: 1.312 MB / 0.8932 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.01442, allocations: 51.41 kB / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.01452, allocations: 177.9 kB / 0.8935 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.01459, allocations: 25.7 kB / 0.8935 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.01465, allocations: 142.8 kB / 0.8936 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.01469, allocations: 19.84 kB / 0.8936 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01481, allocations: 35.31 kB / 0.8937 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002941/0.01511, allocations: 0.4923 MB / 0.8942 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.01532, allocations: 91.91 kB / 0.8942 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01551, allocations: 91.95 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.01589, allocations: 187.7 kB / 0.8945 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01589, allocations: 0 / 0.8945 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000527/0.01641, allocations: 237.6 kB / 0.8947 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.01644, allocations: 7.938 kB / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01644, allocations: 0 / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01646, allocations: 0 / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.01712, allocations: 59.94 kB / 0.8948 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01712, allocations: 4 kB / 0.8948 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.01765, allocations: 43.95 kB / 0.8948 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.01768, allocations: 7.984 kB / 0.8949 GB, free: 4.344 MB / 0.8542 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.000127/0.01781, allocations: 156.5 kB / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.01789, allocations: 16.31 kB / 0.895 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.01797, allocations: 20.44 kB / 0.895 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01797, allocations: 4 kB / 0.895 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01797, allocations: 0 / 0.895 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01798, allocations: 3.984 kB / 0.895 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.02033, allocations: 0.64 MB / 0.8957 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02033, allocations: 4 kB / 0.8957 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.02078, allocations: 55.88 kB / 0.8957 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02079, allocations: 3.938 kB / 0.8957 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.02081, allocations: 0 / 0.8957 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.02081, allocations: 8.062 kB / 0.8957 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02082, allocations: 3.984 kB / 0.8957 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.02126, allocations: 283.2 kB / 0.896 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.02128, allocations: 7.953 kB / 0.896 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.02132, allocations: 3.984 kB / 0.896 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.02172, allocations: 35.97 kB / 0.8961 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.02173, allocations: 11.92 kB / 0.8961 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.02175, allocations: 4 kB / 0.8961 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.0218, allocations: 135.8 kB / 0.8962 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0218, allocations: 0 / 0.8962 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002376/0.02203, allocations: 96 kB / 0.8963 GB, free: 2.785 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.0001206/0.02215, allocations: 95.25 kB / 0.8964 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.02255, allocations: 163.5 kB / 0.8965 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02255, allocations: 4 kB / 0.8965 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.02271, allocations: 63.59 kB / 0.8966 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.02291, allocations: 7.938 kB / 0.8966 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02403, allocations: 265.5 kB / 0.8969 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.02406, allocations: 61.42 kB / 0.8969 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.02432, allocations: 59.98 kB / 0.897 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.02478, allocations: 74.2 kB / 0.8971 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.02478, allocations: 0 / 0.8971 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of Templates: time 0.01142/0.0362, allocations: 10.36 MB / 0.9072 GB, free: 7.551 MB / 0.8698 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.725916120223701]