Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001392/0.001392, allocations: 92.22 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.001941/0.001941, allocations: 165 kB / 23.01 MB, free: 1.555 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.9467/0.9467, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.092/2.092, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.865e-05, allocations: 2.906 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001719/0.001748, allocations: 0.6469 MB / 0.8788 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.003812, allocations: 1.419 MB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.003841, allocations: 0 / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.056e-05/0.003912, allocations: 7.922 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.003959, allocations: 4.969 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.004673, allocations: 180.5 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.004786, allocations: 57.06 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.004824, allocations: 4 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.004881, allocations: 20.95 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.004941, allocations: 23.97 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004955, allocations: 0 / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.005342, allocations: 220.7 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.005391, allocations: 11.94 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.005433, allocations: 19.92 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.005779, allocations: 228.2 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005782, allocations: 0 / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005783, allocations: 1.562 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005788, allocations: 0 / 0.881 GB, free: 3.441 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004459/0.006234, allocations: 479.4 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.006276, allocations: 8.031 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.006328, allocations: 13.39 kB / 0.8815 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.006691, allocations: 112.6 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.006706, allocations: 1.844 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.006724, allocations: 4.375 kB / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.006919, allocations: 119.9 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.00693, allocations: 1.281 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006941, allocations: 384 / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.00695, allocations: 3.938 kB / 0.8817 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.007051, allocations: 87.09 kB / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.007196, allocations: 140.5 kB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.007326, allocations: 108.7 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.007423, allocations: 93.42 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-06/0.007427, allocations: 3.375 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.007454, allocations: 33.39 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.007455, allocations: 0 / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004245/0.00788, allocations: 298.6 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.007925, allocations: 89.03 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.008065, allocations: 204.2 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.008081, allocations: 25.7 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.008141, allocations: 138.9 kB / 0.8829 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.008169, allocations: 17.05 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.008226, allocations: 35.38 kB / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.008368, allocations: 0.4884 MB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.00852, allocations: 143.3 kB / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.008659, allocations: 147.4 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.008913, allocations: 248.7 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.008916, allocations: 0 / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003761/0.009292, allocations: 344.2 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.009348, allocations: 67.39 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.009356, allocations: 4 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.009377, allocations: 0 / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-06/0.009382, allocations: 0 / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.009391, allocations: 7.922 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.009501, allocations: 11.89 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.009515, allocations: 8.062 kB / 0.8843 GB, free: 15.68 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001005/0.009616, allocations: 186.3 kB / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.009642, allocations: 16.08 kB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.009666, allocations: 8.328 kB / 0.8845 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.009668, allocations: 0 / 0.8845 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.009673, allocations: 3.938 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009677, allocations: 0 / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.009779, allocations: 136.6 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.009781, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.009782, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.009785, allocations: 4 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.009798, allocations: 4 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.0098, allocations: 0 / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009801, allocations: 0 / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.0101, allocations: 263.6 kB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.01012, allocations: 11.95 kB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.01013, allocations: 0 / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.01018, allocations: 4 kB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.01025, allocations: 11.98 kB / 0.8849 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01026, allocations: 7.938 kB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.01033, allocations: 141.5 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01033, allocations: 4.031 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003272/0.01066, allocations: 71.86 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002791/0.01094, allocations: 157.8 kB / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.01135, allocations: 387.4 kB / 0.8857 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01135, allocations: 0 / 0.8857 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.01149, allocations: 156.7 kB / 0.8858 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01167, allocations: 4.516 kB / 0.8858 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.01205, allocations: 236.4 kB / 0.8861 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.01209, allocations: 71.41 kB / 0.8861 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.392e-06/0.0121, allocations: 0 / 0.8861 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.01212, allocations: 8.5 kB / 0.8861 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01212, allocations: 0 / 0.8861 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.005714/0.01783, allocations: 2.212 MB / 0.8883 GB, free: 11.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.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.572873720899224]