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.00202/0.002026, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002565/0.002565, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.856/1.856, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.149/4.149, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.002179, allocations: 63.5 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4106, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.004462/0.4152, allocations: 1.835 MB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.4167, allocations: 0.6622 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.4168, allocations: 0 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.732e-05/0.4169, allocations: 7.938 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.417, allocations: 15.84 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.4178, allocations: 159.3 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.418, allocations: 115.7 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.4182, allocations: 53.08 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.4184, allocations: 55.78 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.4185, allocations: 51.77 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.4186, allocations: 12 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.4188, allocations: 51.97 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.4188, allocations: 31.89 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.4189, allocations: 59.66 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.4192, allocations: 139.8 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4192, allocations: 0 / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4193, allocations: 0 / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4193, allocations: 0 / 1.056 GB, free: 5.41 MB / 0.8106 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.0008138/0.4201, allocations: 427.1 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4202, allocations: 12.62 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.4202, allocations: 46.73 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.4216, allocations: 112.5 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.4218, allocations: 193.3 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.4219, allocations: 59.97 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.422, allocations: 16.38 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.4229, allocations: 171.2 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4229, allocations: 0 / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.4229, allocations: 4 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.423, allocations: 4 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.424, allocations: 155.8 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.4257, allocations: 477.9 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.4274, allocations: 222.3 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.428, allocations: 80.91 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.428, allocations: 11.97 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4281, allocations: 34.56 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.4281, allocations: 0 / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001652/0.4298, allocations: 261.5 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4298, allocations: 55.41 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.43, allocations: 139.2 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.4301, allocations: 25.7 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.4302, allocations: 112.1 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.4302, allocations: 19.69 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.4303, allocations: 21.7 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4305, allocations: 326.8 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.431, allocations: 71.92 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.4315, allocations: 94.48 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.4325, allocations: 162.7 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4325, allocations: 4 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001109/0.4336, allocations: 205.3 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4336, allocations: 4 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4337, allocations: 7.938 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4337, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.4341, allocations: 36.02 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.4342, allocations: 4 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.4345, allocations: 31.86 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.4345, allocations: 4 kB / 1.059 GB, free: 1.613 MB / 0.8106 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.0001413/0.4347, allocations: 113.8 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.4348, allocations: 7.906 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.436, allocations: 210.1 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.436, allocations: 0 / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.436, allocations: 3.984 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.436, allocations: 7.984 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.4364, allocations: 242.1 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4365, allocations: 3.938 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.4368, allocations: 31.95 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4369, allocations: 0 / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.4369, allocations: 7.922 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4369, allocations: 160 / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4369, allocations: 0 / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.438, allocations: 291.2 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.4381, allocations: 89.02 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.4381, allocations: 4.125 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.4387, allocations: 35.95 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.4387, allocations: 7.984 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.4388, allocations: 4 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001111/0.4389, allocations: 109.6 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4389, allocations: 4 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005108/0.4394, allocations: 23.91 kB / 1.06 GB, free: 352 kB / 0.8106 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.001535/0.441, allocations: 0.8254 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.442, allocations: 167.8 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4421, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.4426, allocations: 87.84 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.4432, allocations: 10.38 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.448, allocations: 1.853 MB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.4484, allocations: 0.6963 MB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.4486, allocations: 19.98 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.4487, allocations: 27.42 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4487, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4692, allocations: 2.578 MB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.4695, allocations: 212.5 kB / 1.066 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.299/3.768, allocations: 0 / 1.066 GB, free: 9.797 MB / 0.8262 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