Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001641/0.001641, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001945/0.001945, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 67.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8513, allocations: 140.4 MB / 0.9489 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001965/0.8533, allocations: 0.6989 MB / 0.9496 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.8537, allocations: 197.2 kB / 0.9498 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.8538, allocations: 0 / 0.9498 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.8538, allocations: 0 / 0.9498 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.854, allocations: 10.95 kB / 0.9498 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.8542, allocations: 62.2 kB / 0.9499 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.8542, allocations: 36.56 kB / 0.9499 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.8543, allocations: 2.156 kB / 0.9499 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.8543, allocations: 13.52 kB / 0.9499 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.8544, allocations: 30.91 kB / 0.9499 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.8544, allocations: 1.406 kB / 0.9499 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.8546, allocations: 106.2 kB / 0.95 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.8546, allocations: 5.719 kB / 0.9501 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.8547, allocations: 23.62 kB / 0.9501 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.8548, allocations: 100.4 kB / 0.9502 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8548, allocations: 1.656 kB / 0.9502 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.8549, allocations: 0 / 0.9502 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8549, allocations: 0 / 0.9502 GB, free: 8.188 MB / 0.7169 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.0005176/0.8554, allocations: 373.2 kB / 0.9505 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8554, allocations: 9.125 kB / 0.9505 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.8555, allocations: 3.688 kB / 0.9505 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.8556, allocations: 176.2 kB / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.8556, allocations: 5.688 kB / 0.9507 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.8557, allocations: 5.734 kB / 0.9507 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.8558, allocations: 51.8 kB / 0.9508 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8558, allocations: 5.5 kB / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8559, allocations: 3.938 kB / 0.9508 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8559, allocations: 4 kB / 0.9508 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.856, allocations: 32.59 kB / 0.9508 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.8563, allocations: 246.6 kB / 0.951 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.8565, allocations: 75.41 kB / 0.9511 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.8566, allocations: 25.31 kB / 0.9511 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.8566, allocations: 0 / 0.9511 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.8566, allocations: 31.94 kB / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.8566, allocations: 0 / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02971/0.8863, allocations: 1.621 MB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8864, allocations: 52.5 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.8865, allocations: 120.7 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.8866, allocations: 25.7 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.8866, allocations: 90.61 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.8867, allocations: 22.39 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.8869, allocations: 25.14 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.887, allocations: 328 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.8875, allocations: 143.1 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.888, allocations: 139.7 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.889, allocations: 295.5 kB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.889, allocations: 0 / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001239/0.8903, allocations: 340.7 kB / 0.9543 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.8903, allocations: 6.781 kB / 0.9543 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8903, allocations: 4.422 kB / 0.9543 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.8903, allocations: 4 kB / 0.9543 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.8919, allocations: 61.67 kB / 0.9543 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8919, allocations: 1.281 kB / 0.9543 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.8932, allocations: 48 kB / 0.9544 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.8932, allocations: 1.781 kB / 0.9544 GB, free: 5.293 MB / 0.7169 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.0001796/0.8934, allocations: 123.4 kB / 0.9545 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.8935, allocations: 7.719 kB / 0.9545 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.8937, allocations: 22.02 kB / 0.9545 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8937, allocations: 5.844 kB / 0.9545 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8937, allocations: 0 / 0.9545 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8937, allocations: 3.984 kB / 0.9545 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.8992, allocations: 0.8409 MB / 0.9554 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8992, allocations: 1.125 kB / 0.9554 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.9003, allocations: 55.97 kB / 0.9554 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.9003, allocations: 1.375 kB / 0.9554 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.9004, allocations: 2.219 kB / 0.9554 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.9004, allocations: 5 kB / 0.9554 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.9004, allocations: 1.188 kB / 0.9554 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.9013, allocations: 324.9 kB / 0.9557 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.9014, allocations: 84.16 kB / 0.9558 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.9014, allocations: 5.5 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/0.9024, allocations: 42.67 kB / 0.9559 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.9024, allocations: 9.5 kB / 0.9559 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.9025, allocations: 7.984 kB / 0.9559 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.9026, allocations: 88.31 kB / 0.956 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9026, allocations: 384 / 0.956 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004646/0.903, allocations: 94.8 kB / 0.9561 GB, free: 4.047 MB / 0.7169 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.0002667/0.9033, allocations: 119 kB / 0.9562 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.9043, allocations: 249 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.9043, allocations: 0 / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.9048, allocations: 96.89 kB / 0.9565 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.9051, allocations: 7.25 kB / 0.9565 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.9077, allocations: 319.8 kB / 0.9568 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.9079, allocations: 0.6832 MB / 0.9575 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005175/0.9084, allocations: 52.48 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.9089, allocations: 16.67 kB / 0.9575 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.9089, allocations: 3.938 kB / 0.9575 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of Templates: time 0.01653/0.9254, allocations: 8.287 MB / 0.9656 GB, free: 14.41 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches