Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001764/0.001764, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002179/0.002179, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_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.00205/0.00205, allocations: 63.84 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3335, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.004462/0.338, allocations: 1.762 MB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3399, allocations: 0.6836 MB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.34, allocations: 4 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.46e-05/0.34, allocations: 15.75 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.3401, allocations: 19.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007345/0.3409, allocations: 186.4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3411, allocations: 123.7 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3412, allocations: 49.09 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3414, allocations: 71.77 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.3415, allocations: 43.78 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.3416, allocations: 12 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3417, allocations: 55.95 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.3418, allocations: 31.84 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.3418, allocations: 43.78 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.3421, allocations: 159.4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3421, allocations: 3.938 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 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.0006246/0.3427, allocations: 369.6 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3428, allocations: 12.03 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.345e-05/0.3428, allocations: 4.188 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.3429, allocations: 34.75 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.3439, allocations: 136.6 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.3443, allocations: 150.9 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.3444, allocations: 122.9 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3444, allocations: 12 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.3451, allocations: 220.8 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3451, allocations: 4 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.3451, allocations: 4 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3451, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.3457, allocations: 151.8 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.347, allocations: 440.8 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/0.348, allocations: 218.3 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.3483, allocations: 72.91 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.3483, allocations: 11.94 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3483, allocations: 34.5 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3483, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000997/0.3493, allocations: 261.4 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3494, allocations: 51.41 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3495, allocations: 141.6 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3495, allocations: 33.7 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.3496, allocations: 120.2 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3497, allocations: 15.84 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.3497, allocations: 25.7 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3499, allocations: 322.8 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.3502, allocations: 71.92 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.3505, allocations: 98.44 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.3511, allocations: 162.4 kB / 1.29 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3511, allocations: 3.938 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006676/0.3518, allocations: 201.4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3518, allocations: 6.5 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3518, allocations: 4 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3518, allocations: 0 / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.3521, allocations: 39.95 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3521, allocations: 4 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3523, allocations: 31.86 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3523, allocations: 7.984 kB / 1.291 GB, free: 3.652 MB / 0.9825 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.0001113/0.3524, allocations: 117.8 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.3525, allocations: 8.266 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.3532, allocations: 210.2 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3532, allocations: 4 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3532, allocations: 3.938 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3532, allocations: 0 / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.3535, allocations: 193.4 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3535, allocations: 4 kB / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3537, allocations: 31.95 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3537, allocations: 3.938 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3537, allocations: 4 kB / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3537, allocations: 0 / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3537, allocations: 0 / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.3544, allocations: 287.3 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.3544, allocations: 15.91 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3545, allocations: 0 / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.3548, allocations: 31.89 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.3548, allocations: 7.984 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.3549, allocations: 11.98 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.3549, allocations: 107.2 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3549, allocations: 4 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002679/0.3552, allocations: 23.94 kB / 1.292 GB, free: 2.531 MB / 0.9825 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.0009993/0.3562, allocations: 0.8099 MB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.3569, allocations: 163.8 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3569, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.3572, allocations: 79.86 kB / 1.293 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3575, allocations: 16.55 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.3606, allocations: 1.844 MB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.098e-05/0.3607, allocations: 95.8 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.661e-05/0.3608, allocations: 19.98 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.3609, allocations: 31.42 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3609, allocations: 0 / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.3865, allocations: 3.103 MB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 12.86 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.82273070595693]