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.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.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.001346/0.001346, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001357/0.001357, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.465 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.744/2.744, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.606/0.6079, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00184/0.6098, allocations: 0.6838 MB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.6118, allocations: 1.435 MB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.6118, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.6118, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.6119, allocations: 7.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.6126, allocations: 187.7 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.6127, allocations: 43.95 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.6128, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.6128, allocations: 15.92 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.6128, allocations: 15.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.6129, allocations: 8 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.6133, allocations: 255.5 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.6133, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.6134, allocations: 19.86 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.6137, allocations: 211.6 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.6137, allocations: 3.984 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6137, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.6137, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 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.0004459/0.6142, allocations: 403 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6142, allocations: 12.03 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.6143, allocations: 12.84 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.6144, allocations: 164.4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6144, allocations: 384 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.6144, allocations: 4.375 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.6146, allocations: 73.97 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6146, allocations: 3.938 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6146, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6146, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.6147, allocations: 35.97 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6149, allocations: 177.5 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.615, allocations: 58.55 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.6151, allocations: 52.88 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-06/0.6151, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6151, allocations: 38.48 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.6151, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003317/0.6155, allocations: 187.2 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.6155, allocations: 85.14 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.6156, allocations: 114.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6157, allocations: 25.7 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.6157, allocations: 88.12 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.6158, allocations: 27.64 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.6158, allocations: 13.72 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6159, allocations: 322.8 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.616, allocations: 35.97 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.6161, allocations: 36.06 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.6162, allocations: 148.3 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6162, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002006/0.6164, allocations: 155.1 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.6165, allocations: 45.62 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.6165, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6165, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.6165, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.6165, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.6167, allocations: 12.05 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.6167, allocations: 8 kB / 1.022 GB, free: 13.29 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 (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 0.0001122/0.6168, allocations: 143.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.6168, allocations: 15.83 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.6169, allocations: 12.38 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.6169, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6169, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6169, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.617, allocations: 173.5 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.617, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.617, allocations: 4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.617, allocations: 3.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6171, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6171, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6171, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.6173, allocations: 202.6 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.6174, allocations: 85.03 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.6174, allocations: 4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.6174, allocations: 8.031 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.6175, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.6175, allocations: 11.98 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.6176, allocations: 95.25 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6176, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002885/0.6178, allocations: 72 kB / 1.023 GB, free: 12.36 MB / 0.7794 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.0002969/0.6182, allocations: 159.7 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.6184, allocations: 199.3 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6184, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.6186, allocations: 155.3 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.6187, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.619, allocations: 184.9 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6194, allocations: 0.6846 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.04e-06/0.6194, allocations: 4.125 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.6194, allocations: 7.438 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6194, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.004705/0.6241, allocations: 2.03 MB / 1.026 GB, free: 8.871 MB / 0.7794 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=400 -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/jenkins/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