Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_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.004956/0.004956, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001281/0.001281, allocations: 189.8 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3149, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002944/0.3179, allocations: 1.783 MB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.319, allocations: 0.6545 MB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.3191, allocations: 4 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.3192, allocations: 11.86 kB / 1.244 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.3192, allocations: 15.81 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.3198, allocations: 179.2 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.32, allocations: 119.7 kB / 1.245 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3201, allocations: 45.11 kB / 1.245 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3202, allocations: 55.83 kB / 1.245 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.3203, allocations: 51.75 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3204, allocations: 19.94 kB / 1.245 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3205, allocations: 47.97 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.3205, allocations: 27.89 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.3206, allocations: 63.66 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3208, allocations: 135.5 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3208, allocations: 0 / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3208, allocations: 0 / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3209, allocations: 0 / 1.245 GB, free: 6.641 MB / 0.9981 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.0006205/0.3215, allocations: 442.8 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3215, allocations: 16.03 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.3216, allocations: 38.73 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.3224, allocations: 112.7 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3226, allocations: 192.1 kB / 1.246 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3227, allocations: 71.95 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3227, allocations: 4.375 kB / 1.246 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.3233, allocations: 169.5 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3233, allocations: 0 / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.3233, allocations: 4 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3233, allocations: 3.938 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.324, allocations: 159.8 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3252, allocations: 489.9 kB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3262, allocations: 218.3 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.3266, allocations: 88.89 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3266, allocations: 3.984 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3267, allocations: 38.55 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3267, allocations: 0 / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001088/0.3278, allocations: 261.3 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3278, allocations: 55.41 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.328, allocations: 143.9 kB / 1.247 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.328, allocations: 29.7 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.3281, allocations: 108.2 kB / 1.248 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3281, allocations: 23.8 kB / 1.248 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.3282, allocations: 21.7 kB / 1.248 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3283, allocations: 322.8 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.3287, allocations: 75.92 kB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.329, allocations: 98.42 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.3297, allocations: 166.4 kB / 1.248 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3297, allocations: 0 / 1.248 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007432/0.3304, allocations: 201.8 kB / 1.248 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3304, allocations: 5.406 kB / 1.248 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3305, allocations: 7.938 kB / 1.248 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3305, allocations: 0 / 1.248 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3307, allocations: 39.95 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3308, allocations: 0 / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.331, allocations: 27.97 kB / 1.248 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.331, allocations: 7.984 kB / 1.248 GB, free: 2.812 MB / 0.9981 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.0001111/0.3311, allocations: 117.8 kB / 1.249 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.3312, allocations: 7.953 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007758/0.3319, allocations: 206.2 kB / 1.249 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.332, allocations: 0 / 1.249 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.332, allocations: 4 kB / 1.249 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.332, allocations: 0 / 1.249 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3323, allocations: 242.3 kB / 1.249 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3323, allocations: 0 / 1.249 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.3325, allocations: 31.95 kB / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3325, allocations: 4 kB / 1.249 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3325, allocations: 3.938 kB / 1.249 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3326, allocations: 0 / 1.249 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3326, allocations: 7.922 kB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.3333, allocations: 279.4 kB / 1.249 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.3334, allocations: 92.98 kB / 1.249 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3334, allocations: 3.938 kB / 1.249 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.3337, allocations: 31.95 kB / 1.249 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3338, allocations: 4 kB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3338, allocations: 7.984 kB / 1.249 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.3339, allocations: 112.8 kB / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3339, allocations: 0 / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002626/0.3342, allocations: 23.95 kB / 1.25 GB, free: 1.555 MB / 0.9981 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.001082/0.3353, allocations: 0.8222 MB / 1.25 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006997/0.336, allocations: 167.7 kB / 1.251 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.336, allocations: 4.125 kB / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.3363, allocations: 79.92 kB / 1.251 GB, free: 472 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3366, allocations: 11.98 kB / 1.251 GB, free: 460 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5255/0.8621, allocations: 1.817 MB / 1.252 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.8624, allocations: 0.6999 MB / 1.253 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.8626, allocations: 14.83 kB / 1.253 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.8627, allocations: 34.28 kB / 1.253 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.8627, allocations: 0 / 1.253 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/1.076, allocations: 2.75 MB / 1.256 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.265, allocations: 9.109 kB / 1.256 GB, free: 13.36 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches