Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004259/0.004259, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001198/0.001198, allocations: 196.6 kB / 16.67 MB, free: 6.352 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.273 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.574/2.574, allocations: 437.1 MB / 0.7106 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 67.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2743, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002831/0.2772, allocations: 1.78 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2782, allocations: 0.6593 MB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.2783, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.2783, allocations: 7.875 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.068e-05/0.2784, allocations: 23.78 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2789, allocations: 171.5 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.2791, allocations: 123.7 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2792, allocations: 49.09 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2793, allocations: 63.7 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/0.2794, allocations: 43.78 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.2795, allocations: 12 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2796, allocations: 47.95 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.2796, allocations: 27.91 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.2797, allocations: 59.7 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.2799, allocations: 147.6 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2799, allocations: 11.94 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2799, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2799, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000589/0.2805, allocations: 442.8 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2806, allocations: 12.03 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.2806, allocations: 34.75 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007968/0.2814, allocations: 116.7 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2816, allocations: 186.5 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.2817, allocations: 59.97 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2817, allocations: 8.375 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.2822, allocations: 177.4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2822, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2823, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.2823, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.2829, allocations: 163.7 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.284, allocations: 493.5 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.285, allocations: 214.3 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.2853, allocations: 92.89 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2853, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2853, allocations: 38.56 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2853, allocations: 3.938 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0009954/0.2863, allocations: 261.3 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2864, allocations: 51.41 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2865, allocations: 133.8 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2866, allocations: 29.7 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.2866, allocations: 112.2 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.2867, allocations: 23.84 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.2867, allocations: 21.72 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2869, allocations: 322.8 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.2872, allocations: 67.92 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.2875, allocations: 98.48 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.2881, allocations: 166.4 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2881, allocations: 0 / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006674/0.2888, allocations: 201.4 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2888, allocations: 4 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2888, allocations: 3.938 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2889, allocations: 8.062 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2891, allocations: 35.89 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2891, allocations: 7.984 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.2893, allocations: 23.91 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2893, allocations: 4 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001003/0.2894, allocations: 117.8 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.2895, allocations: 15.89 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/0.2902, allocations: 206.1 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2902, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2902, allocations: 11.92 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2902, allocations: 384 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.2905, allocations: 234.4 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2905, allocations: 8 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.2907, allocations: 27.95 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2907, allocations: 7.984 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2908, allocations: 11.92 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2908, allocations: 0 / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2908, allocations: 0 / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.2915, allocations: 283.3 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.2915, allocations: 85.06 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2916, allocations: 3.938 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.2919, allocations: 35.95 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2919, allocations: 7.984 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2919, allocations: 11.92 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.292, allocations: 101.5 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.292, allocations: 0 / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002408/0.2923, allocations: 27.89 kB / 1.174 GB, free: 14.93 MB / 0.9356 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 (6): * Single equations (assignments): 6 * 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.001009/0.2933, allocations: 0.8177 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006615/0.294, allocations: 167.8 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.294, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.2943, allocations: 84.03 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2946, allocations: 13.88 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.2976, allocations: 1.823 MB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2979, allocations: 0.7002 MB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.762e-05/0.298, allocations: 16 kB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.2981, allocations: 35.41 kB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2981, allocations: 0 / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/1.936, allocations: 2.754 MB / 1.18 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/14.2, allocations: 11.28 kB / 1.18 GB, free: 8.461 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches