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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009028/0.0009029, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.00102/0.00102, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 16 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6237, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001655/0.6254, allocations: 1.485 MB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.6263, allocations: 0.6516 MB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.6263, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.6264, allocations: 7.922 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.6264, allocations: 19.86 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.6269, allocations: 152.5 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.627, allocations: 111.7 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.6272, allocations: 52.94 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.6273, allocations: 47.83 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.6273, allocations: 39.78 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.6274, allocations: 8 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.6275, allocations: 35.97 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.6275, allocations: 19.91 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.6276, allocations: 73.36 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.6277, allocations: 137.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6277, allocations: 3.984 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6277, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.6278, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.7794 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.0004778/0.6282, allocations: 415.1 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.6283, allocations: 12.03 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.6283, allocations: 34.75 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.6292, allocations: 144.7 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6293, allocations: 189.8 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.6294, allocations: 59.97 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.6294, allocations: 8.375 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.6299, allocations: 199.2 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.63, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.63, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.63, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.6306, allocations: 195.8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6317, allocations: 0.5056 MB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.6328, allocations: 270.3 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.6331, allocations: 96.91 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6332, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.6332, allocations: 38.56 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.6332, allocations: 3.938 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001066/0.6343, allocations: 317.5 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.6343, allocations: 55.34 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6344, allocations: 135.4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.6344, allocations: 29.7 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.6345, allocations: 112.1 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.6345, allocations: 19.8 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.6346, allocations: 9.719 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.6347, allocations: 326.8 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.635, allocations: 91.92 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.6353, allocations: 114.5 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.6359, allocations: 198.4 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.636, allocations: 0 / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007076/0.6367, allocations: 237.8 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6367, allocations: 8 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.6367, allocations: 3.938 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.6367, allocations: 0 / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.637, allocations: 51.95 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.637, allocations: 0 / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.6372, allocations: 43.8 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6372, allocations: 8 kB / 1.03 GB, free: 8.844 MB / 0.7794 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 8.899e-05/0.6373, allocations: 114.4 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.6374, allocations: 7.906 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/0.6381, allocations: 246.1 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6382, allocations: 4 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6382, allocations: 0 / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6382, allocations: 0 / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.6384, allocations: 245.9 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6384, allocations: 7.922 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.6387, allocations: 43.95 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.6387, allocations: 0 / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6387, allocations: 3.938 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6387, allocations: 3.984 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6387, allocations: 0 / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.6394, allocations: 319.2 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.6395, allocations: 89 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.6395, allocations: 7.938 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.6398, allocations: 43.95 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.6399, allocations: 4 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.6399, allocations: 7.984 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.6399, allocations: 104.6 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6399, allocations: 0 / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002546/0.6402, allocations: 35.78 kB / 1.031 GB, free: 7.484 MB / 0.7794 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.0009505/0.6412, allocations: 0.8568 MB / 1.032 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006861/0.6419, allocations: 199.8 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6419, allocations: 0 / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.6422, allocations: 99.98 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.6425, allocations: 11.98 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.6455, allocations: 1.961 MB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.6457, allocations: 0.6965 MB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.983e-05/0.6458, allocations: 16 kB / 1.035 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.6459, allocations: 39.34 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6459, allocations: 0 / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4171/1.063, allocations: 2.427 MB / 1.037 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.063, allocations: 193.1 kB / 1.037 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.208, allocations: 3.938 kB / 1.037 GB, free: 0.9023 MB / 0.7794 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=50 --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