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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 0.5003 GB / 0.8026 GB, free: 6.688 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 60.14 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00314/1.184, allocations: 1.807 MB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.186, allocations: 0.7354 MB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/1.186, allocations: 2.562 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/1.186, allocations: 14.77 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/1.186, allocations: 18.31 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/1.187, allocations: 179.8 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000228/1.187, allocations: 128.3 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/1.187, allocations: 37 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/1.187, allocations: 74.45 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/1.187, allocations: 54.98 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/1.187, allocations: 11.22 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/1.187, allocations: 46.97 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/1.188, allocations: 32.91 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/1.188, allocations: 55.88 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/1.188, allocations: 163.4 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.188, allocations: 0 / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/1.188, allocations: 0 / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.188, allocations: 0 / 1.343 GB, free: 14.09 MB / 1.061 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.0006658/1.189, allocations: 448.6 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.189, allocations: 11.67 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.617e-05/1.189, allocations: 5.438 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/1.189, allocations: 40.53 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.19, allocations: 133.4 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/1.19, allocations: 205.4 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.079e-05/1.19, allocations: 68.39 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/1.19, allocations: 9.062 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/1.191, allocations: 180.2 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.191, allocations: 0.5156 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/1.191, allocations: 1.375 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.191, allocations: 2.75 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/1.191, allocations: 158.7 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/1.193, allocations: 495.2 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.194, allocations: 213.8 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/1.194, allocations: 82.66 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/1.194, allocations: 9.703 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/1.194, allocations: 32.39 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/1.194, allocations: 0 / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.001182/1.195, allocations: 266.7 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/1.195, allocations: 52.72 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.195, allocations: 145.1 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.195, allocations: 31.14 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/1.196, allocations: 110.7 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/1.196, allocations: 27.86 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/1.196, allocations: 24.02 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/1.196, allocations: 319.9 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/1.196, allocations: 75.05 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/1.196, allocations: 100.4 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/1.197, allocations: 160.7 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.197, allocations: 3.938 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007428/1.198, allocations: 198.6 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.198, allocations: 5.656 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.198, allocations: 4.062 kB / 1.347 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.198, allocations: 2.156 kB / 1.347 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/1.198, allocations: 38.64 kB / 1.347 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.198, allocations: 2.172 kB / 1.347 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/1.198, allocations: 30.61 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/1.198, allocations: 8.516 kB / 1.347 GB, free: 11.75 MB / 1.061 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.878e-05/1.198, allocations: 122.1 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/1.199, allocations: 9.078 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/1.199, allocations: 202.8 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.199, allocations: 5.375 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.199, allocations: 0.6094 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.199, allocations: 0.5938 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/1.2, allocations: 241.9 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.2, allocations: 0.6094 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/1.2, allocations: 32.12 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/1.2, allocations: 1.406 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/1.2, allocations: 1.406 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.2, allocations: 1.219 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.2, allocations: 4.562 kB / 1.348 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/1.201, allocations: 286.6 kB / 1.348 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/1.201, allocations: 88.47 kB / 1.348 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/1.201, allocations: 9.781 kB / 1.348 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/1.201, allocations: 32.55 kB / 1.348 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/1.201, allocations: 5.094 kB / 1.348 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.201, allocations: 5.953 kB / 1.348 GB, free: 11.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.241e-05/1.201, allocations: 107.2 kB / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.201, allocations: 0 / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002877/1.201, allocations: 27.98 kB / 1.348 GB, free: 10.93 MB / 1.061 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.0009733/1.202, allocations: 0.8194 MB / 1.349 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007675/1.203, allocations: 174 kB / 1.349 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.203, allocations: 1.344 kB / 1.349 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/1.204, allocations: 86.66 kB / 1.349 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/1.204, allocations: 9.406 kB / 1.349 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/1.207, allocations: 1.847 MB / 1.351 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/1.207, allocations: 0.7023 MB / 1.352 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.879e-05/1.207, allocations: 20.36 kB / 1.352 GB, free: 8.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/1.207, allocations: 31.73 kB / 1.352 GB, free: 8.027 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.207, allocations: 1.188 kB / 1.352 GB, free: 8.027 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/1.231, allocations: 2.861 MB / 1.354 GB, free: 7.543 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.658, allocations: 5.969 kB / 1.354 GB, free: 7.543 MB / 1.061 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.755642830044962]