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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 67.89 kB / 1.056 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7948, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003562/0.7984, allocations: 1.792 MB / 1.215 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.7998, allocations: 0.6533 MB / 1.215 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.8, allocations: 1.125 kB / 1.215 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.513e-05/0.8, allocations: 11.81 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.8001, allocations: 21.62 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.8008, allocations: 167.6 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.8011, allocations: 124.8 kB / 1.216 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.8012, allocations: 38.64 kB / 1.216 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.8014, allocations: 57.36 kB / 1.216 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.8015, allocations: 48.83 kB / 1.216 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.8016, allocations: 14 kB / 1.216 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.8017, allocations: 51.91 kB / 1.216 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.8017, allocations: 29.08 kB / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.8018, allocations: 57.34 kB / 1.216 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.8021, allocations: 148.5 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8021, allocations: 0.875 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8021, allocations: 0 / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.8021, allocations: 0 / 1.216 GB, free: 1.434 MB / 0.92 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.000732/0.8028, allocations: 443 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8029, allocations: 9.688 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.803, allocations: 38.09 kB / 1.217 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/0.8039, allocations: 111.9 kB / 1.217 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.8041, allocations: 190.6 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.8042, allocations: 71.02 kB / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.8042, allocations: 14 kB / 1.217 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.8048, allocations: 173.1 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8048, allocations: 0 / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.8048, allocations: 5.125 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.8048, allocations: 2.375 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.8054, allocations: 155.7 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.8066, allocations: 496.9 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.8076, allocations: 222.3 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.8079, allocations: 76.75 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.8079, allocations: 1.156 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.808, allocations: 32.5 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.808, allocations: 4 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.001018/0.809, allocations: 259.6 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.809, allocations: 60.56 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.8092, allocations: 135.5 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.8092, allocations: 30.92 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.8093, allocations: 113.3 kB / 1.219 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.8094, allocations: 23.06 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.8094, allocations: 24.17 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8096, allocations: 317.6 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.8099, allocations: 80.44 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.8102, allocations: 90.62 kB / 1.219 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.8108, allocations: 163.6 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8108, allocations: 1.281 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007179/0.8115, allocations: 201.5 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8116, allocations: 5.625 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.8116, allocations: 5.312 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.8116, allocations: 5.266 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.8119, allocations: 37.36 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8119, allocations: 1.219 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.8121, allocations: 28.38 kB / 1.22 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8121, allocations: 2.906 kB / 1.22 GB, free: 14.56 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.0001378/0.8123, allocations: 119.1 kB / 1.22 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.8123, allocations: 8.078 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.8131, allocations: 227.5 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8131, allocations: 1.25 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8131, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8131, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.8134, allocations: 231 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8134, allocations: 0 / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.8137, allocations: 36.02 kB / 1.22 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8137, allocations: 0 / 1.22 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.8137, allocations: 5.125 kB / 1.22 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8137, allocations: 1.25 kB / 1.22 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8137, allocations: 0 / 1.22 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.8144, allocations: 290.7 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.8144, allocations: 83.19 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.8145, allocations: 5 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.8147, allocations: 29.08 kB / 1.22 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.8148, allocations: 10.08 kB / 1.221 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.8148, allocations: 11.8 kB / 1.221 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.976e-05/0.8149, allocations: 108.8 kB / 1.221 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8149, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002808/0.8152, allocations: 23.3 kB / 1.221 GB, free: 13.57 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.001189/0.8164, allocations: 0.8277 MB / 1.221 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006966/0.8171, allocations: 154.2 kB / 1.222 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8171, allocations: 1.312 kB / 1.222 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.8174, allocations: 84.72 kB / 1.222 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.8179, allocations: 8.5 kB / 1.222 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.8215, allocations: 1.835 MB / 1.223 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.8219, allocations: 0.7033 MB / 1.224 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.822, allocations: 18.27 kB / 1.224 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.822, allocations: 31.11 kB / 1.224 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of SimCode: time 8.52e-07/0.822, allocations: 7.938 kB / 1.224 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.8487, allocations: 2.748 MB / 1.227 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/9.13, allocations: 10.52 kB / 1.227 GB, free: 8.938 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.117236986290663]