Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001168/0.001168, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008937/0.0008937, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.855/0.855, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.17e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001301/0.001333, allocations: 0.6267 MB / 0.9524 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000383/0.001716, allocations: 167.2 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.001754, allocations: 8 kB / 0.9526 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.001772, allocations: 3.938 kB / 0.9526 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.001983, allocations: 11.92 kB / 0.9526 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.002181, allocations: 79.62 kB / 0.9527 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.002255, allocations: 27.91 kB / 0.9527 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.002307, allocations: 4 kB / 0.9527 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.002358, allocations: 11.98 kB / 0.9527 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.002421, allocations: 23.91 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.002436, allocations: 0 / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.002536, allocations: 51.83 kB / 0.9528 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.002553, allocations: 11.98 kB / 0.9528 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.002573, allocations: 11.92 kB / 0.9528 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.002724, allocations: 95.77 kB / 0.9529 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002726, allocations: 3.938 kB / 0.9529 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002727, allocations: 0 / 0.9529 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002731, allocations: 0 / 0.9529 GB, free: 1.785 MB / 0.9011 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.000441/0.003172, allocations: 294 kB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00321, allocations: 8.031 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.003247, allocations: 8.891 kB / 0.9532 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.003446, allocations: 113.8 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.003457, allocations: 384 / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.003478, allocations: 8.375 kB / 0.9533 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.003606, allocations: 50.23 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.003618, allocations: 4.188 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003629, allocations: 384 / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003634, allocations: 384 / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.003722, allocations: 39.84 kB / 0.9534 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.003979, allocations: 208.5 kB / 0.9536 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.004119, allocations: 62.53 kB / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.004164, allocations: 24.94 kB / 0.9537 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.004183, allocations: 0 / 0.9537 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.004204, allocations: 34.56 kB / 0.9537 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004205, allocations: 0 / 0.9537 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.01207/0.01628, allocations: 1.617 MB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.01632, allocations: 55.34 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.0164, allocations: 118.1 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.01645, allocations: 29.7 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.01649, allocations: 84.14 kB / 0.9556 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.01654, allocations: 27.83 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.01666, allocations: 29.64 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.01673, allocations: 322.8 kB / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.01706, allocations: 143.9 kB / 0.9561 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.01738, allocations: 139.9 kB / 0.9562 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.01803, allocations: 296.8 kB / 0.9565 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01803, allocations: 3.938 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007578/0.01879, allocations: 337.5 kB / 0.9568 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.0188, allocations: 7.938 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.0188, allocations: 0 / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.01881, allocations: 0 / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.01946, allocations: 71.86 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01946, allocations: 0 / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.01999, allocations: 43.95 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.02002, allocations: 11.98 kB / 0.9569 GB, free: 13.46 MB / 0.9167 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.0001095/0.02013, allocations: 107.8 kB / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.02018, allocations: 15.88 kB / 0.9571 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.02026, allocations: 20.44 kB / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02026, allocations: 0 / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02026, allocations: 0 / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.02026, allocations: 0 / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.02297, allocations: 0.724 MB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02297, allocations: 4.266 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.02342, allocations: 56 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02342, allocations: 0 / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.02345, allocations: 7.938 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.02345, allocations: 0 / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02345, allocations: 4 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.02404, allocations: 321.1 kB / 0.9582 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.02405, allocations: 15.95 kB / 0.9582 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.02409, allocations: 0 / 0.9582 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.02451, allocations: 43.94 kB / 0.9582 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.02452, allocations: 0 / 0.9582 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.02455, allocations: 12.05 kB / 0.9582 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.02459, allocations: 95.28 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.02459, allocations: 0 / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002751/0.02486, allocations: 99.8 kB / 0.9584 GB, free: 11.88 MB / 0.9167 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.00018/0.02504, allocations: 111.2 kB / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006386/0.02568, allocations: 255.8 kB / 0.9588 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02568, allocations: 0 / 0.9588 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.02593, allocations: 91.89 kB / 0.9588 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.02614, allocations: 8.062 kB / 0.9589 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.02742, allocations: 328.2 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.02747, allocations: 67.91 kB / 0.9592 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.02779, allocations: 20.48 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/0.0278, allocations: 0 / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.004829/0.03263, allocations: 5.077 MB / 0.9642 GB, free: 5.84 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.504058241844177]