Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_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_10_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.001041/0.001041, allocations: 111.8 kB / 16.37 MB, free: 6.012 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.001078/0.001078, allocations: 194.7 kB / 17.31 MB, free: 5.613 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.211/2.211, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 60.19 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2503, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001543/0.2519, allocations: 0.6172 MB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2535, allocations: 1.44 MB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.2535, allocations: 0 / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.2536, allocations: 0 / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.2536, allocations: 3.938 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.2542, allocations: 210.3 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.2543, allocations: 43.89 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.2543, allocations: 3.938 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.2543, allocations: 15.98 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.2544, allocations: 19.92 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2544, allocations: 4 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.2547, allocations: 247.7 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.2548, allocations: 11.98 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.2548, allocations: 15.88 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.2551, allocations: 219.5 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2551, allocations: 0 / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2551, allocations: 0 / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2551, allocations: 3.938 kB / 1.022 GB, free: 6.973 MB / 0.795 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.0003372/0.2554, allocations: 397.1 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2555, allocations: 12.03 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.2555, allocations: 4.844 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.2556, allocations: 180.2 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.2556, allocations: 4.375 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2556, allocations: 4.375 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2558, allocations: 77.91 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.2558, allocations: 4 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2558, allocations: 4 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2558, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.2559, allocations: 35.97 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.256, allocations: 161.6 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.2561, allocations: 66.55 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.2561, allocations: 52.86 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-06/0.2561, allocations: 0 / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2562, allocations: 42.44 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.2562, allocations: 0 / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002716/0.2564, allocations: 183.5 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2565, allocations: 81.11 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.2566, allocations: 117.9 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2566, allocations: 29.7 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.2566, allocations: 88.14 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.2566, allocations: 23.66 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.2567, allocations: 21.7 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.2568, allocations: 314.8 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/0.2568, allocations: 35.97 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.2569, allocations: 39.97 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.257, allocations: 144.2 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.257, allocations: 0 / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.2572, allocations: 151.2 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.2572, allocations: 41.58 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2572, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2572, allocations: 3.984 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.2572, allocations: 0 / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2572, allocations: 0 / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.2573, allocations: 12 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2573, allocations: 4 kB / 1.024 GB, free: 4.418 MB / 0.795 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 8.117e-05/0.2574, allocations: 147.6 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2574, allocations: 15.83 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.2575, allocations: 8.375 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2575, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2575, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.2575, allocations: 3.938 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.167e-05/0.2576, allocations: 165.7 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2576, allocations: 0 / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.2576, allocations: 7.922 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2576, allocations: 7.938 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2576, allocations: 4 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2576, allocations: 0 / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2576, allocations: 4 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.2578, allocations: 199.3 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.2579, allocations: 85.03 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2579, allocations: 4 kB / 1.024 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.2579, allocations: 11.98 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.2579, allocations: 4 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.258, allocations: 8.031 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.258, allocations: 95.25 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.258, allocations: 0 / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002654/0.2583, allocations: 79.98 kB / 1.025 GB, free: 3.473 MB / 0.795 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.0002351/0.2585, allocations: 155.2 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2587, allocations: 199.3 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2587, allocations: 3.938 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2589, allocations: 151.4 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.259, allocations: 14.39 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.2592, allocations: 168.9 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.2594, allocations: 0.6885 MB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.067e-06/0.2594, allocations: 0 / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-06/0.2594, allocations: 7.438 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2595, allocations: 0 / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of Templates: time 0.00374/0.2632, allocations: 2.03 MB / 1.028 GB, free: 15.99 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches