Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 105.9 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 187 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8224, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001801/0.8242, allocations: 0.6347 MB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.8247, allocations: 195.2 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.8248, allocations: 0 / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.8248, allocations: 3.938 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.825, allocations: 11.94 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.8253, allocations: 75.75 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.8254, allocations: 31.84 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.8254, allocations: 8 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.8255, allocations: 19.91 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.8255, allocations: 19.92 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.8256, allocations: 0 / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.8257, allocations: 111.7 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.8258, allocations: 0 / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.8258, allocations: 23.84 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.826, allocations: 100.2 kB / 1.169 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.826, allocations: 4 kB / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.826, allocations: 4 kB / 1.169 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.826, allocations: 0 / 1.169 GB, free: 2.586 MB / 0.8887 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.00055/0.8266, allocations: 375.1 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8266, allocations: 8.922 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.8267, allocations: 4.891 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.8268, allocations: 172.4 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8268, allocations: 384 / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.8269, allocations: 4.312 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.827, allocations: 58.23 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.8271, allocations: 4.188 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8271, allocations: 3.938 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8271, allocations: 0 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.8272, allocations: 35.91 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.8275, allocations: 252.9 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.8278, allocations: 74.53 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.8278, allocations: 24.94 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.8279, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.8279, allocations: 34.5 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 4.238e-06/0.8279, allocations: 4 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.02817/0.8561, allocations: 1.617 MB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.8562, allocations: 55.41 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.8564, allocations: 113.8 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.8565, allocations: 29.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.8565, allocations: 88.14 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.8566, allocations: 31.73 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.8569, allocations: 29.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.857, allocations: 314.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.8576, allocations: 143.9 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.8581, allocations: 143.9 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8591, allocations: 293.3 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8591, allocations: 3.938 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001215/0.8603, allocations: 341.5 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8604, allocations: 4 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8604, allocations: 0 / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.8604, allocations: 7.984 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.862, allocations: 55.94 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.862, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.8634, allocations: 51.94 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.8635, allocations: 11.98 kB / 1.173 GB, free: 14.02 MB / 0.9044 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.0002107/0.8637, allocations: 109.8 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.8638, allocations: 7.953 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.8639, allocations: 20.45 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.864, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.864, allocations: 3.984 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.864, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/0.8699, allocations: 0.8415 MB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.87, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.8711, allocations: 51.94 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.8712, allocations: 4.062 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.8712, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.8712, allocations: 11.92 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8712, allocations: 0 / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009944/0.8722, allocations: 333 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.8723, allocations: 85.11 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.8724, allocations: 8 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.8735, allocations: 43.89 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.8735, allocations: 4 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.8736, allocations: 7.984 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.8736, allocations: 91.31 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8737, allocations: 4 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000417/0.8741, allocations: 99.92 kB / 1.174 GB, free: 12.2 MB / 0.9044 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.0002931/0.8744, allocations: 119.1 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.8754, allocations: 243.9 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.8754, allocations: 4 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.8759, allocations: 91.89 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.8762, allocations: 7.984 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.879, allocations: 324.2 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.8793, allocations: 0.689 MB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.8797, allocations: 15.42 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8797, allocations: 0 / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of Templates: time 0.008053/0.8878, allocations: 5.049 MB / 1.181 GB, free: 5.566 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches