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.001741/0.001741, allocations: 88.72 kB / 19.44 MB, free: 356 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.001623/0.001623, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.262/3.262, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.463e-06/1.463e-06, allocations: 0 / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.817e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001773/0.001801, allocations: 0.6364 MB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.002266, allocations: 182.8 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.002307, allocations: 0.75 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.002324, allocations: 3.938 kB / 0.8784 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.002509, allocations: 4.5 kB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.002765, allocations: 76.45 kB / 0.8785 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.002831, allocations: 31.73 kB / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.002875, allocations: 7.984 kB / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.002932, allocations: 15.98 kB / 0.8786 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.002996, allocations: 19.91 kB / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.003014, allocations: 4 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.003142, allocations: 47.83 kB / 0.8786 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.003163, allocations: 7.984 kB / 0.8787 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.003195, allocations: 11.92 kB / 0.8787 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.003409, allocations: 91.78 kB / 0.8788 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.003411, allocations: 0 / 0.8788 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/0.003413, allocations: 0 / 0.8788 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.003419, allocations: 1.469 kB / 0.8788 GB, free: 5.332 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.0006852/0.004104, allocations: 294 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.004154, allocations: 13 kB / 0.879 GB, free: 5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.004921, allocations: 64.77 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.005092, allocations: 114.9 kB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005109, allocations: 384 / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.00515, allocations: 4.375 kB / 0.8792 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.005402, allocations: 83.3 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.005413, allocations: 192 / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.005431, allocations: 1.406 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005436, allocations: 384 / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.005678, allocations: 68.7 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.005991, allocations: 196.5 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.006362, allocations: 100.8 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.006497, allocations: 36.94 kB / 0.8797 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.006514, allocations: 5.172 kB / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.006554, allocations: 38.5 kB / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.006554, allocations: 0 / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.02895/0.0355, allocations: 1.523 MB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.03555, allocations: 55.41 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.03569, allocations: 117.8 kB / 0.8814 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/0.03577, allocations: 25.7 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.03584, allocations: 88.14 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.03594, allocations: 31.73 kB / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.03617, allocations: 21.7 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.03634, allocations: 322.8 kB / 0.8819 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.03692, allocations: 151.9 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.03748, allocations: 155.9 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.03866, allocations: 324.8 kB / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.03866, allocations: 0 / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00146/0.04012, allocations: 361.4 kB / 0.8828 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.04014, allocations: 8 kB / 0.8828 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.04015, allocations: 0 / 0.8828 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.04017, allocations: 0 / 0.8828 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.04193, allocations: 67.92 kB / 0.8829 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.04194, allocations: 0 / 0.8829 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.04344, allocations: 51.95 kB / 0.8829 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.04351, allocations: 3.984 kB / 0.8829 GB, free: 0.9023 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.0002165/0.04373, allocations: 117.8 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.04388, allocations: 11.89 kB / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.04402, allocations: 16.44 kB / 0.8831 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.04403, allocations: 11.94 kB / 0.8831 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.04403, allocations: 0 / 0.8831 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.04404, allocations: 0 / 0.8831 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006252/0.05029, allocations: 0.7401 MB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.05029, allocations: 0 / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.05159, allocations: 55.94 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.0516, allocations: 0 / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.05165, allocations: 8 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.05166, allocations: 4.062 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.05166, allocations: 7.922 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.05284, allocations: 349.1 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.05286, allocations: 3.953 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.53e-05/0.05294, allocations: 8 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.05414, allocations: 39.95 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.05416, allocations: 7.984 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.05422, allocations: 0 / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.487e-05/0.0543, allocations: 99.27 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.0543, allocations: 0 / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004364/0.05474, allocations: 95.94 kB / 0.8844 GB, free: 15.26 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.0001874/0.05492, allocations: 103.2 kB / 0.8845 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.05612, allocations: 259.8 kB / 0.8848 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.05612, allocations: 0 / 0.8848 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.0566, allocations: 107.9 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.05694, allocations: 11.98 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.0601, allocations: 325.9 kB / 0.8852 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.162e-05/0.06019, allocations: 75.45 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005331/0.06073, allocations: 52 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.06128, allocations: 16.48 kB / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.06128, allocations: 0 / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.01744/0.07872, allocations: 10.28 MB / 0.8954 GB, free: 3.93 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.695965392980725]