Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002027/0.002027, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002189/0.002189, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.305/3.305, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",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.002408/0.002408, allocations: 71.42 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4153, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003272/0.4185, allocations: 1.768 MB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.4199, allocations: 0.6936 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.42, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.42, allocations: 15.8 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.4201, allocations: 19.8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.4208, allocations: 185.1 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.421, allocations: 131.6 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.4212, allocations: 41.73 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.4213, allocations: 63.77 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.4214, allocations: 47.77 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.4215, allocations: 8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4216, allocations: 55.91 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.4216, allocations: 31.89 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.4217, allocations: 47.78 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.4219, allocations: 155.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4219, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4219, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4219, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 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.0006449/0.4226, allocations: 371.5 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4226, allocations: 8.031 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.4227, allocations: 42.73 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009566/0.4236, allocations: 128.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.4239, allocations: 156.1 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.4241, allocations: 123.1 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4241, allocations: 12 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.4246, allocations: 220.9 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4246, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.4247, allocations: 8 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4247, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.4253, allocations: 157.5 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4263, allocations: 429 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/0.4273, allocations: 214.3 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.4276, allocations: 76.91 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4276, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4277, allocations: 42.44 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4277, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001087/0.4287, allocations: 261.4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4288, allocations: 55.41 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4289, allocations: 144.6 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.429, allocations: 33.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.429, allocations: 108.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.4291, allocations: 19.84 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.4291, allocations: 21.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4293, allocations: 326.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.4296, allocations: 75.92 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.4299, allocations: 98.42 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.4304, allocations: 158.4 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4304, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006543/0.4311, allocations: 209.4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4311, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.4311, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4311, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4314, allocations: 43.89 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4314, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.4316, allocations: 31.84 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4316, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 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.4317, allocations: 121.4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.4318, allocations: 11.95 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.4325, allocations: 206.5 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4325, allocations: 3.938 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4325, allocations: 4.062 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4325, allocations: 3.984 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.4328, allocations: 189.5 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4328, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.433, allocations: 31.95 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.433, allocations: 0 / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4331, allocations: 3.984 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4331, allocations: 4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4331, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.4338, allocations: 291.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.4338, allocations: 11.89 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.4338, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.4341, allocations: 35.95 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.4341, allocations: 3.984 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4341, allocations: 11.98 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.07e-05/0.4342, allocations: 105.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4342, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002492/0.4345, allocations: 23.94 kB / 1.333 GB, free: 10.23 MB / 1.029 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.001033/0.4355, allocations: 0.8177 MB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006411/0.4361, allocations: 167.8 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4361, allocations: 0 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.4365, allocations: 83.84 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4367, allocations: 8 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.44, allocations: 1.849 MB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.4401, allocations: 85.19 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.4402, allocations: 19.75 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.4403, allocations: 35.41 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4403, allocations: 0 / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.475, allocations: 3.458 MB / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.98, allocations: 10.22 kB / 1.339 GB, free: 3.711 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable smoMax.u1 in file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.070552157238126]