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.001063/0.001063, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009927/0.0009927, allocations: 173 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.38/2.38, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.603e-06/1.603e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.566e-05, allocations: 12.5 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.005783/0.005808, allocations: 0.6461 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.006294, allocations: 187.2 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.006334, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.006352, allocations: 3.938 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.006534, allocations: 11.88 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.006766, allocations: 75.75 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.006836, allocations: 27.91 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.006878, allocations: 4 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.006932, allocations: 19.91 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.007001, allocations: 15.98 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.007015, allocations: 0 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.007129, allocations: 51.81 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.007148, allocations: 11.94 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.007166, allocations: 11.97 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.007321, allocations: 95.72 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007324, allocations: 0 / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007325, allocations: 4 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.007329, allocations: 0 / 0.8398 GB, free: 12.96 MB / 0.8073 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.0003703/0.007699, allocations: 260.7 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.007734, allocations: 8.625 kB / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.01121, allocations: 56.86 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.01133, allocations: 117.6 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.01134, allocations: 4.375 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.01137, allocations: 4.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.01153, allocations: 78.88 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.01154, allocations: 4.188 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01156, allocations: 8.375 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.01156, allocations: 384 / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.01164, allocations: 19.94 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.01184, allocations: 144.3 kB / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.01198, allocations: 50.5 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.01202, allocations: 24.86 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.01204, allocations: 0 / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.01206, allocations: 34.56 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.01206, allocations: 0 / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0292/0.04126, allocations: 1.258 MB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.04131, allocations: 51.41 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.04141, allocations: 118.7 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.04147, allocations: 29.64 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.04152, allocations: 92.08 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.0416, allocations: 27.78 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.04179, allocations: 17.7 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.04188, allocations: 318.8 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.0421, allocations: 75.98 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.04232, allocations: 72 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.04279, allocations: 165.4 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.04279, allocations: 0 / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005975/0.04339, allocations: 193.5 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.04341, allocations: 11.94 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.04342, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.04343, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/0.04744, allocations: 60.36 kB / 0.843 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.04745, allocations: 0 / 0.843 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.04816, allocations: 47.95 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.04822, allocations: 3.984 kB / 0.843 GB, free: 9.48 MB / 0.8073 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.0001813/0.0484, allocations: 121.8 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.04852, allocations: 4 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.04863, allocations: 20.38 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.04863, allocations: 7.984 kB / 0.8432 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.04864, allocations: 0 / 0.8432 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.04865, allocations: 3.984 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.05171, allocations: 492.1 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.05171, allocations: 0 / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.05234, allocations: 51.89 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.05235, allocations: 0 / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.0524, allocations: 7.984 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.0524, allocations: 3.938 kB / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0524, allocations: 0 / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.05291, allocations: 213.2 kB / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.05293, allocations: 7.953 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.053, allocations: 0 / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.05355, allocations: 43.95 kB / 0.8439 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.05358, allocations: 7.922 kB / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.05362, allocations: 4 kB / 0.844 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.05366, allocations: 16.84 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.05366, allocations: 0 / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003789/0.05404, allocations: 92 kB / 0.8441 GB, free: 8.344 MB / 0.8073 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.0002248/0.05426, allocations: 80.42 kB / 0.8441 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.05478, allocations: 132.8 kB / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.05479, allocations: 0 / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.055, allocations: 52.78 kB / 0.8443 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.05525, allocations: 15.86 kB / 0.8443 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.05677, allocations: 242.2 kB / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.05682, allocations: 59.34 kB / 0.8446 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.05723, allocations: 63.98 kB / 0.8447 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.05776, allocations: 59.36 kB / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of SimCode: time 1.623e-06/0.05776, allocations: 0 / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of Templates: time 0.01095/0.06871, allocations: 10.36 MB / 0.8548 GB, free: 13.2 MB / 0.823 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.637715742923319]