Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001932/0.001932, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.495/2.495, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8197, allocations: 140.3 MB / 0.9489 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001879/0.8217, allocations: 0.6857 MB / 0.9496 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.8233, allocations: 1.462 MB / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.8234, allocations: 0 / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.8235, allocations: 3.938 kB / 0.951 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.8235, allocations: 5.297 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.824, allocations: 160.5 kB / 0.9512 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.8241, allocations: 31.91 kB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.8241, allocations: 2.688 kB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.8242, allocations: 15.17 kB / 0.9512 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.8242, allocations: 25.5 kB / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.8243, allocations: 5.5 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.8246, allocations: 236.7 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.8246, allocations: 15.44 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.8246, allocations: 16.12 kB / 0.9515 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.8249, allocations: 214.5 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8249, allocations: 1.281 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8249, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.8249, allocations: 0 / 0.9517 GB, free: 7.398 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003185/0.8253, allocations: 399.8 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.8253, allocations: 9.688 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.8253, allocations: 7.562 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/0.8254, allocations: 175.5 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8254, allocations: 5.594 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.8255, allocations: 2.312 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.8256, allocations: 79.88 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.8256, allocations: 0 / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.8256, allocations: 1.031 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8256, allocations: 0 / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.8257, allocations: 41.44 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.8258, allocations: 156.1 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.8259, allocations: 68.61 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.826, allocations: 52.45 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.826, allocations: 1.438 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.826, allocations: 35.66 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.826, allocations: 3.984 kB / 0.9527 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000273/0.8263, allocations: 189.6 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.8263, allocations: 79.7 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.8264, allocations: 117.8 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.8264, allocations: 32.3 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.8264, allocations: 81.73 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.8265, allocations: 22.31 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.8265, allocations: 21.7 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.8266, allocations: 315.9 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.8266, allocations: 37.81 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.8267, allocations: 37.16 kB / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.8268, allocations: 149.8 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8268, allocations: 0 / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001754/0.827, allocations: 151.4 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.827, allocations: 42.81 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.827, allocations: 1.375 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.827, allocations: 0 / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.8271, allocations: 0 / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.8271, allocations: 1.031 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.8272, allocations: 13.62 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.8272, allocations: 8.609 kB / 0.954 GB, free: 5.32 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.351e-05/0.8273, allocations: 149.2 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.8273, allocations: 11.53 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.8273, allocations: 6.719 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.8273, allocations: 0 / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.8274, allocations: 1.188 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8274, allocations: 3.938 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.619e-05/0.8275, allocations: 177.4 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8275, allocations: 1.188 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.8275, allocations: 0 / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8275, allocations: 5.125 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8275, allocations: 6.625 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8275, allocations: 0 / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8275, allocations: 5.375 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.8277, allocations: 198.2 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.8278, allocations: 82.48 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.8278, allocations: 3.438 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-05/0.8278, allocations: 8.578 kB / 0.9546 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.8279, allocations: 6.344 kB / 0.9546 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.8279, allocations: 4.938 kB / 0.9546 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.8279, allocations: 91.58 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8279, allocations: 0 / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003397/0.8283, allocations: 79.33 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003197/0.8286, allocations: 155.3 kB / 0.9549 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.8289, allocations: 200.3 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8289, allocations: 0 / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.829, allocations: 156.6 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.8292, allocations: 5.984 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.8295, allocations: 180.7 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.8297, allocations: 0.6871 MB / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.704e-06/0.8297, allocations: 1.125 kB / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-06/0.8297, allocations: 7.438 kB / 0.9561 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8297, allocations: 4.062 kB / 0.9561 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.004279/0.834, allocations: 1.988 MB / 0.9581 GB, free: 2.355 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches