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.007355/0.007355, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.001714/0.001714, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.681, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002805/0.6839, allocations: 1.758 MB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.685, allocations: 0.6516 MB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.6851, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.6851, allocations: 19.73 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.6852, allocations: 19.8 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.6857, allocations: 175 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.6859, allocations: 123.7 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.686, allocations: 49.09 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.6862, allocations: 55.83 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.6863, allocations: 47.77 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.6863, allocations: 12 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.6864, allocations: 47.97 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.6865, allocations: 31.89 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.6865, allocations: 55.72 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.6867, allocations: 151.1 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6867, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6868, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6868, allocations: 3.938 kB / 1.223 GB, free: 14.85 MB / 0.9512 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.0005964/0.6874, allocations: 442.8 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6874, allocations: 12.03 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.6875, allocations: 34.75 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.6882, allocations: 120.6 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.6884, allocations: 188.1 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.244e-05/0.6885, allocations: 59.97 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.6885, allocations: 16.36 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.689, allocations: 169.4 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.689, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.6891, allocations: 4 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6891, allocations: 8 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.6897, allocations: 155.8 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.6908, allocations: 485.9 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.6918, allocations: 222.3 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.6921, allocations: 84.91 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.6921, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6921, allocations: 34.56 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.6921, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001004/0.6932, allocations: 261.3 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6932, allocations: 55.34 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6933, allocations: 140.2 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6933, allocations: 33.7 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.6934, allocations: 104.3 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.6935, allocations: 31.78 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.6935, allocations: 21.7 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6937, allocations: 322.8 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.694, allocations: 71.92 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.6943, allocations: 94.5 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.6949, allocations: 170.4 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6949, allocations: 0 / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006652/0.6956, allocations: 193.4 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6956, allocations: 9.859 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6956, allocations: 8 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6956, allocations: 7.938 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.6959, allocations: 31.95 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6959, allocations: 4 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.6961, allocations: 23.97 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.6961, allocations: 3.984 kB / 1.227 GB, free: 11.04 MB / 0.9512 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 9.506e-05/0.6962, allocations: 124.9 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.6963, allocations: 11.91 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007222/0.697, allocations: 210.3 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.697, allocations: 7.938 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.697, allocations: 4.062 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.697, allocations: 0 / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.6973, allocations: 246.1 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6973, allocations: 4 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.6975, allocations: 27.95 kB / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6975, allocations: 4 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.6975, allocations: 3.938 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6976, allocations: 0 / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6976, allocations: 4 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.6983, allocations: 283.3 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.6983, allocations: 89.05 kB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.6983, allocations: 11.94 kB / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.6986, allocations: 31.94 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.6987, allocations: 4 kB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.6987, allocations: 7.984 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.6988, allocations: 101.3 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6988, allocations: 0 / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002412/0.699, allocations: 27.95 kB / 1.228 GB, free: 9.758 MB / 0.9512 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.00103/0.7001, allocations: 0.826 MB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.7007, allocations: 159.8 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7007, allocations: 0 / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.701, allocations: 87.98 kB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.7013, allocations: 8 kB / 1.229 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.7043, allocations: 1.833 MB / 1.231 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.7047, allocations: 0.7001 MB / 1.231 GB, free: 6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.961e-05/0.7047, allocations: 19.98 kB / 1.231 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.7048, allocations: 31.42 kB / 1.231 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7048, allocations: 0 / 1.231 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.523/2.227, allocations: 2.747 MB / 1.234 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.41, allocations: 21.02 kB / 1.234 GB, free: 3.27 MB / 0.9512 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