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.00181/0.00181, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001456/0.001456, allocations: 210.2 kB / 23.04 MB, free: 5.074 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.941/2.941, allocations: 476.8 MB / 0.7715 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 176] 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.002178/0.002178, allocations: 65.53 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4227, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00355/0.4263, allocations: 1.82 MB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.4278, allocations: 0.7381 MB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.4279, allocations: 0 / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.8e-05/0.4279, allocations: 15.8 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.428, allocations: 23.73 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.4288, allocations: 188.2 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.429, allocations: 123.6 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.4292, allocations: 45.11 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.4294, allocations: 67.81 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4295, allocations: 43.78 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.4296, allocations: 16 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4297, allocations: 55.97 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.4298, allocations: 35.83 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.4298, allocations: 55.7 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.4302, allocations: 151.4 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4302, allocations: 4 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4302, allocations: 0 / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.4302, allocations: 0 / 1.287 GB, free: 8.355 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.0007321/0.4309, allocations: 367.4 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.431, allocations: 16.03 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.435e-05/0.431, allocations: 192 / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.978e-05/0.431, allocations: 42.73 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.4321, allocations: 132.7 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4323, allocations: 150.9 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.4325, allocations: 126.9 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4325, allocations: 8 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.4331, allocations: 169.4 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4331, allocations: 4 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.4331, allocations: 4 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4331, allocations: 3.938 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.4337, allocations: 155.8 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.4349, allocations: 460.8 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.436, allocations: 210.3 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.4363, allocations: 80.84 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.4363, allocations: 11.92 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4363, allocations: 38.56 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.4364, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001099/0.4374, allocations: 261.4 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4375, allocations: 51.41 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.4376, allocations: 141.4 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.4377, allocations: 29.7 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.4378, allocations: 112.2 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.4378, allocations: 19.86 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.4379, allocations: 21.7 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.438, allocations: 326.8 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4384, allocations: 75.86 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.4387, allocations: 98.42 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.4393, allocations: 162.4 kB / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4393, allocations: 4.188 kB / 1.291 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007111/0.44, allocations: 205.4 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4401, allocations: 4 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4401, allocations: 4 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4401, allocations: 3.938 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.4404, allocations: 40.02 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4404, allocations: 0 / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.4406, allocations: 31.86 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.4406, allocations: 7.984 kB / 1.291 GB, free: 4.613 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.0001255/0.4407, allocations: 117.8 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.4408, allocations: 7.953 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/0.4415, allocations: 210.1 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4415, allocations: 4 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4415, allocations: 0 / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4415, allocations: 0 / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.4418, allocations: 213.3 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4418, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.4421, allocations: 31.95 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4421, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.4421, allocations: 7.969 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4421, allocations: 4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4421, allocations: 0 / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.4429, allocations: 295.2 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.4429, allocations: 7.906 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4429, allocations: 4 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4432, allocations: 32.14 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.4433, allocations: 3.984 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4433, allocations: 12 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001081/0.4434, allocations: 107.2 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4434, allocations: 4 kB / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002781/0.4437, allocations: 19.94 kB / 1.292 GB, free: 3.48 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.001118/0.4448, allocations: 0.8177 MB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007161/0.4455, allocations: 167.8 kB / 1.293 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4455, allocations: 0 / 1.293 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.4459, allocations: 79.84 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.4462, allocations: 17.97 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.4496, allocations: 1.848 MB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.45, allocations: 0.7041 MB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.231e-05/0.4501, allocations: 15.94 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.4502, allocations: 31.42 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/0.4502, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.4757, allocations: 2.986 MB / 1.298 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 6.312 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.044295706029516]