Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001348/0.001348, allocations: 108.1 kB / 16.46 MB, free: 6.457 MB / 14.72 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.001487/0.001487, allocations: 212.3 kB / 19.43 MB, free: 3.625 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.4899 GB / 0.7915 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 70.64 kB / 1.149 GB, free: 25.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3595, allocations: 176.1 MB / 1.321 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001903/0.3614, allocations: 0.6447 MB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000483/0.3619, allocations: 203.5 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.3619, allocations: 4 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.3619, allocations: 0 / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.3621, allocations: 7.922 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3623, allocations: 75.75 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.3624, allocations: 27.91 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.3624, allocations: 8 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.3625, allocations: 11.94 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.3625, allocations: 27.89 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3626, allocations: 4 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.3628, allocations: 107.7 kB / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3628, allocations: 11.94 kB / 1.322 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.3629, allocations: 11.92 kB / 1.322 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.363, allocations: 111.6 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.363, allocations: 0 / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3631, allocations: 0 / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3631, allocations: 0 / 1.323 GB, free: 1.398 MB / 1.014 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.0006116/0.3637, allocations: 371.2 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3637, allocations: 11.98 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.3637, allocations: 4.938 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.364, allocations: 176.3 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.364, allocations: 384 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.364, allocations: 4.375 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3642, allocations: 62.09 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3642, allocations: 4.188 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3642, allocations: 3.938 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3642, allocations: 4 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3643, allocations: 31.97 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.3647, allocations: 241 kB / 1.323 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3649, allocations: 82.39 kB / 1.323 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.365, allocations: 20.94 kB / 1.323 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.365, allocations: 0 / 1.323 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.365, allocations: 30.56 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.365, allocations: 0 / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.02936/0.3944, allocations: 1.613 MB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3944, allocations: 59.39 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3945, allocations: 117.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/0.3946, allocations: 25.7 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.3947, allocations: 92.08 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.3948, allocations: 31.78 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.395, allocations: 25.72 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3952, allocations: 322.8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.3957, allocations: 143.9 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.3962, allocations: 143.9 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3973, allocations: 292.8 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3973, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001307/0.3986, allocations: 338 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3986, allocations: 10.34 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3987, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3987, allocations: 4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.4003, allocations: 59.92 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4003, allocations: 96 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.4018, allocations: 51.89 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.4018, allocations: 7.984 kB / 1.327 GB, free: 12.84 MB / 1.029 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.0002192/0.402, allocations: 121.7 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.4021, allocations: 7.984 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4023, allocations: 20.38 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4023, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4023, allocations: 3.938 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4023, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/0.4083, allocations: 0.8415 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.4083, allocations: 0 / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.4095, allocations: 55.94 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4095, allocations: 4 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.4096, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.4096, allocations: 11.88 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4096, allocations: 4.062 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4106, allocations: 321.1 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.4107, allocations: 85.06 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.4108, allocations: 7.984 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.4119, allocations: 39.89 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.4119, allocations: 4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.4119, allocations: 8 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.271e-05/0.412, allocations: 95.2 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.412, allocations: 0 / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004538/0.4124, allocations: 95.92 kB / 1.328 GB, free: 11.02 MB / 1.029 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.0002587/0.4127, allocations: 119.2 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.4138, allocations: 235.8 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4138, allocations: 0 / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.4143, allocations: 96.06 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4146, allocations: 5.891 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.4174, allocations: 310.7 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4178, allocations: 0.6885 MB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.4182, allocations: 52.14 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.4186, allocations: 15.42 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.4186, allocations: 0 / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of Templates: time 0.01442/0.4331, allocations: 8.758 MB / 1.338 GB, free: 0.6445 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.381322631146759]