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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001134/0.001135, 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.00105/0.001051, allocations: 192.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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.305/2.305, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5193, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003043/0.5224, allocations: 1.844 MB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.5235, allocations: 0.6554 MB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.5236, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.5237, allocations: 7.875 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.5238, allocations: 15.91 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.5243, allocations: 163.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.5245, allocations: 123.6 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.5246, allocations: 49.02 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.5248, allocations: 55.83 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.5249, allocations: 47.77 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.5249, allocations: 12 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.525, allocations: 43.97 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.5251, allocations: 31.89 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.5251, allocations: 63.64 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.5253, allocations: 141.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5253, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5254, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5254, allocations: 4 kB / 1.02 GB, free: 15.43 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.0005752/0.5259, allocations: 435 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.526, allocations: 11.97 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.5261, allocations: 42.73 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.5269, allocations: 116.6 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.527, allocations: 180.2 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.5271, allocations: 63.95 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.5271, allocations: 8.375 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.5276, allocations: 173.4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5276, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.5277, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5277, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.5282, allocations: 155.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.5293, allocations: 485.9 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.5302, allocations: 218.2 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.5305, allocations: 84.91 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.5305, allocations: 7.984 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5306, allocations: 38.55 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.5306, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.00092/0.5315, allocations: 261.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5315, allocations: 51.41 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.5317, allocations: 145.1 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.5317, allocations: 29.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.5318, allocations: 108.2 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.5318, allocations: 19.72 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.5318, allocations: 21.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.532, allocations: 322.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.5322, allocations: 71.92 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.5325, allocations: 98.48 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.5331, allocations: 162.6 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5331, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006022/0.5337, allocations: 205.4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5337, allocations: 6.5 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5337, allocations: 3.938 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5338, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.534, allocations: 31.95 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.534, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.5342, allocations: 31.8 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.5342, allocations: 8 kB / 1.024 GB, free: 11.62 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 9.129e-05/0.5343, allocations: 122.3 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.5344, allocations: 7.906 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.535, allocations: 206.2 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.535, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.535, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.535, allocations: 7.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5353, allocations: 241.9 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5353, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.5355, allocations: 35.89 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5355, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5355, allocations: 11.92 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5356, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5356, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.5362, allocations: 287.2 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.5362, allocations: 85.02 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.5363, allocations: 4.125 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.5365, allocations: 35.95 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5366, allocations: 4 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.5366, allocations: 7.984 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.5367, allocations: 103.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5367, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000257/0.537, allocations: 35.84 kB / 1.025 GB, free: 10.35 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.0009055/0.5379, allocations: 0.8176 MB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006015/0.5385, allocations: 163.8 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5385, allocations: 0 / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.5388, allocations: 88.03 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.5391, allocations: 8 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.5419, allocations: 1.854 MB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.5421, allocations: 0.7017 MB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.781e-05/0.5422, allocations: 16 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.5423, allocations: 35.41 kB / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5423, allocations: 0 / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6806/1.223, allocations: 2.577 MB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/1.223, allocations: 199.7 kB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/3.029, allocations: 4 kB / 1.031 GB, free: 3.793 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