Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_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.001766/0.001766, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 196 kB / 16.53 MB, free: 6.699 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 69.73 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2961, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003449/0.2996, allocations: 1.781 MB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3008, allocations: 0.6623 MB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.3009, allocations: 4 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.3009, allocations: 7.875 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.301, allocations: 15.8 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3015, allocations: 175.5 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3017, allocations: 123.7 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3018, allocations: 41.11 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.302, allocations: 63.77 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.302, allocations: 47.77 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3021, allocations: 8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3022, allocations: 47.95 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.3023, allocations: 39.84 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.3023, allocations: 51.72 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.3025, allocations: 147.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3025, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3025, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3025, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 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.0005848/0.3031, allocations: 435 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3032, allocations: 12.03 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.3032, allocations: 42.69 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/0.3041, allocations: 112.7 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.3043, allocations: 190.2 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.624e-05/0.3044, allocations: 67.95 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3044, allocations: 4.375 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.3049, allocations: 169.5 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.305, allocations: 3.938 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.305, allocations: 4 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.305, allocations: 0 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.3056, allocations: 159.8 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3068, allocations: 481.9 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3079, allocations: 226.2 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.3082, allocations: 76.91 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3082, allocations: 8 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3083, allocations: 34.56 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3083, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001023/0.3093, allocations: 269.4 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3093, allocations: 51.41 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3095, allocations: 133.8 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3095, allocations: 25.7 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.3096, allocations: 116.1 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3096, allocations: 23.73 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.3097, allocations: 25.7 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3098, allocations: 318.8 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3101, allocations: 79.92 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.3105, allocations: 90.75 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.3111, allocations: 166.4 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3111, allocations: 0 / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007085/0.3118, allocations: 205.4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3118, allocations: 8 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3119, allocations: 3.938 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3119, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3121, allocations: 36.02 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3122, allocations: 4 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3124, allocations: 23.88 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3124, allocations: 11.98 kB / 1.071 GB, free: 7.191 MB / 0.8262 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.0001121/0.3125, allocations: 121.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.3126, allocations: 7.906 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007299/0.3133, allocations: 206.2 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3133, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3133, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3133, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.3136, allocations: 238.1 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3136, allocations: 4 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3138, allocations: 35.95 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3139, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3139, allocations: 3.938 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3139, allocations: 0 / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3139, allocations: 4 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.3146, allocations: 291.4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3147, allocations: 85.02 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3147, allocations: 7.922 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.315, allocations: 31.95 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.315, allocations: 8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3151, allocations: 7.984 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.3151, allocations: 108.9 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3151, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.3154, allocations: 27.91 kB / 1.072 GB, free: 5.926 MB / 0.8262 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.001021/0.3165, allocations: 0.8176 MB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006552/0.3171, allocations: 167.8 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3171, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.3174, allocations: 75.92 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3177, allocations: 9.406 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.3208, allocations: 1.834 MB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3211, allocations: 0.6963 MB / 1.075 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.905e-05/0.3212, allocations: 16 kB / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.3213, allocations: 31.42 kB / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3213, allocations: 3.938 kB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.541/1.863, allocations: 2.722 MB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.79, allocations: 6.672 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches