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.001217/0.001217, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.501/2.501, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6156/0.6171, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003631/0.6208, allocations: 1.773 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.6221, allocations: 0.6554 MB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.6223, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.865e-05/0.6224, allocations: 15.81 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.6225, allocations: 15.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.6231, allocations: 167.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.6233, allocations: 123.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.6235, allocations: 45 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.6237, allocations: 59.84 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.6238, allocations: 55.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.6238, allocations: 8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.624, allocations: 47.97 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.624, allocations: 35.89 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.6241, allocations: 55.66 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.6244, allocations: 137.8 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6244, allocations: 3.938 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6244, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.6244, allocations: 0 / 1.021 GB, free: 15.23 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.0006845/0.6251, allocations: 439 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6252, allocations: 12.03 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.6252, allocations: 46.72 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/0.6261, allocations: 112.6 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.6263, allocations: 185.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.6264, allocations: 67.95 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.6265, allocations: 8.375 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.627, allocations: 173.3 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.627, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.6271, allocations: 8 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6271, allocations: 4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.6277, allocations: 149.4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.6291, allocations: 481.9 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.6302, allocations: 226.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.6305, allocations: 80.91 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.6306, allocations: 7.984 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6306, allocations: 38.48 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.6306, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001141/0.6318, allocations: 261.5 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.6318, allocations: 51.41 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.632, allocations: 143.5 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.632, allocations: 25.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6322, allocations: 108.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.6322, allocations: 19.72 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.6323, allocations: 25.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6325, allocations: 318.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.6328, allocations: 75.92 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.6331, allocations: 102.4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.6338, allocations: 158.4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6338, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006954/0.6345, allocations: 197.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6345, allocations: 8 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6345, allocations: 8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6345, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.6348, allocations: 39.89 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.6348, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.6351, allocations: 32.12 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.6351, allocations: 7.984 kB / 1.024 GB, free: 11.43 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 0.0001147/0.6352, allocations: 117.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.6353, allocations: 15.91 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.636, allocations: 206.1 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6361, allocations: 8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6361, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6361, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.6364, allocations: 241.9 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6364, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.6367, allocations: 31.95 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6367, allocations: 3.938 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6367, allocations: 3.938 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6367, allocations: 3.984 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6367, allocations: 4 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.6374, allocations: 275.3 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.6375, allocations: 93 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.6375, allocations: 3.938 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.6379, allocations: 35.94 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.6379, allocations: 7.938 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.6379, allocations: 11.98 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.638, allocations: 104.6 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.638, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002754/0.6383, allocations: 31.84 kB / 1.025 GB, free: 10.15 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.001011/0.6393, allocations: 0.8138 MB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007018/0.64, allocations: 172 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.6401, allocations: 4 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.6404, allocations: 84.11 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.6408, allocations: 12.11 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.6439, allocations: 1.822 MB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.6442, allocations: 0.7002 MB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.6443, allocations: 16 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.6444, allocations: 35.41 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of SimCode: time 2.625e-06/0.6444, allocations: 0 / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.6663, allocations: 2.702 MB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/8.012, allocations: 7.297 kB / 1.031 GB, free: 3.711 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