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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005224/0.005224, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001114/0.001114, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8249, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003398/0.8283, allocations: 1.78 MB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.8299, allocations: 0.6546 MB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.83, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.8301, allocations: 11.81 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.8302, allocations: 23.73 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.831, allocations: 179.2 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.8313, allocations: 119.6 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.8315, allocations: 57.08 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.8317, allocations: 51.84 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.8318, allocations: 47.77 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.8319, allocations: 12 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.832, allocations: 47.95 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.8321, allocations: 27.91 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.8322, allocations: 51.72 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.8325, allocations: 153.7 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8325, allocations: 4 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8325, allocations: 0 / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.8325, allocations: 0 / 1.21 GB, free: 10.35 MB / 0.9356 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.0007915/0.8333, allocations: 442.9 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.8334, allocations: 8.031 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.8335, allocations: 38.75 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009305/0.8344, allocations: 112.7 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.8346, allocations: 197.5 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.8347, allocations: 55.97 kB / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.8347, allocations: 16.12 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.8353, allocations: 167.2 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.8353, allocations: 3.938 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.8353, allocations: 4 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8353, allocations: 4 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.836, allocations: 159.8 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.8371, allocations: 477.9 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.8382, allocations: 218.3 kB / 1.212 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.8385, allocations: 88.89 kB / 1.212 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.8386, allocations: 3.984 kB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.8386, allocations: 34.56 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.8386, allocations: 0 / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.001106/0.8397, allocations: 265.5 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.8397, allocations: 51.41 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.8399, allocations: 136.2 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.8399, allocations: 25.7 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.84, allocations: 120 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.84, allocations: 19.7 kB / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.8401, allocations: 25.72 kB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8402, allocations: 322.8 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.8405, allocations: 67.92 kB / 1.213 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.8409, allocations: 98.48 kB / 1.213 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.8415, allocations: 162.4 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8415, allocations: 3.938 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007288/0.8423, allocations: 205.7 kB / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8423, allocations: 7.938 kB / 1.214 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8423, allocations: 4.062 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8423, allocations: 4 kB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.8426, allocations: 39.94 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8426, allocations: 0 / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.8428, allocations: 27.91 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.8429, allocations: 0 / 1.214 GB, free: 6.555 MB / 0.9356 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.0001038/0.843, allocations: 121.8 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.843, allocations: 19.84 kB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/0.8438, allocations: 202.1 kB / 1.214 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8438, allocations: 4 kB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8438, allocations: 0 / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8438, allocations: 3.984 kB / 1.214 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.8441, allocations: 238.2 kB / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8441, allocations: 0 / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.8444, allocations: 31.95 kB / 1.214 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.8444, allocations: 7.922 kB / 1.214 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.8444, allocations: 4 kB / 1.214 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8444, allocations: 0 / 1.214 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8444, allocations: 0 / 1.214 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/0.8452, allocations: 295.1 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.8452, allocations: 81.02 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.8453, allocations: 7.938 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.8456, allocations: 31.95 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.8456, allocations: 7.984 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.8457, allocations: 7.984 kB / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.8457, allocations: 103.3 kB / 1.215 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8457, allocations: 0 / 1.215 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002815/0.846, allocations: 23.94 kB / 1.215 GB, free: 5.277 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.001036/0.8471, allocations: 0.8217 MB / 1.216 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007362/0.8478, allocations: 167.8 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8478, allocations: 0 / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.8482, allocations: 87.97 kB / 1.216 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.8485, allocations: 6.188 kB / 1.216 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.8517, allocations: 1.829 MB / 1.218 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.8521, allocations: 0.7001 MB / 1.219 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.629e-05/0.8522, allocations: 16 kB / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.8523, allocations: 35.41 kB / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.8523, allocations: 0 / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.8731, allocations: 2.785 MB / 1.221 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.73, allocations: 11.94 kB / 1.221 GB, free: 14.77 MB / 0.9512 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=50 --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