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.001469/0.001469, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.637/2.637, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6644, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002173/0.6667, allocations: 0.6423 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004999/0.6672, allocations: 207.1 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.6673, allocations: 7.875 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.6673, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.6675, allocations: 3.938 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.6677, allocations: 71.75 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.6678, allocations: 31.91 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.6679, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.6679, allocations: 23.92 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.668, allocations: 15.92 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.668, allocations: 4 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.6682, allocations: 107.7 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.6683, allocations: 7.984 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.6683, allocations: 23.86 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.6685, allocations: 103.8 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6685, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6685, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.6685, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.7637 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.0005633/0.6691, allocations: 369.3 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.6691, allocations: 12.03 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.6692, allocations: 0.9375 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.6693, allocations: 180.2 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6694, allocations: 4.375 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.6694, allocations: 4.375 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.6696, allocations: 54.23 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6696, allocations: 8.062 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6696, allocations: 7.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6696, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.6697, allocations: 35.95 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.6701, allocations: 252.9 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.6703, allocations: 70.47 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.6704, allocations: 24.94 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.6704, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.6704, allocations: 34.5 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.6704, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.02803/0.6985, allocations: 1.613 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.6985, allocations: 55.41 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.6987, allocations: 117.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.6988, allocations: 25.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.6988, allocations: 96.03 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.6989, allocations: 19.72 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.6992, allocations: 25.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6993, allocations: 326.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.6998, allocations: 131.9 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.7003, allocations: 143.9 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.7013, allocations: 301.3 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7013, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00119/0.7025, allocations: 341.8 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.7025, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7025, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.7026, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.7042, allocations: 63.94 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.7042, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.7058, allocations: 47.94 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.7059, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 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.0001945/0.7061, allocations: 117.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.7062, allocations: 15.89 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.7063, allocations: 20.36 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7063, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7063, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7064, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/0.7123, allocations: 0.8416 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.7123, allocations: 3.938 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.7135, allocations: 51.94 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.7135, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.7136, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.7136, allocations: 3.938 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.7136, allocations: 12.05 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.7145, allocations: 317 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.7146, allocations: 85.02 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.7147, allocations: 8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.7158, allocations: 39.89 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.7158, allocations: 7.984 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.7158, allocations: 4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.7159, allocations: 95.27 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7159, allocations: 384 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004883/0.7164, allocations: 92 kB / 1.024 GB, free: 10.88 MB / 0.7794 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.0002604/0.7167, allocations: 123.2 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7178, allocations: 255.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7178, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.7182, allocations: 96.06 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.7186, allocations: 8 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.7215, allocations: 294.6 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.7218, allocations: 0.6818 MB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005291/0.7223, allocations: 51.98 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.7228, allocations: 23.42 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of SimCode: time 8.11e-07/0.7228, allocations: 4 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of Templates: time 0.01404/0.7368, allocations: 8.736 MB / 1.034 GB, free: 0.5117 MB / 0.7794 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/jenkins/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