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.001737/0.001737, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002094/0.002094, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.969 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.253/3.253, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.003199/0.003199, allocations: 74.69 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4228, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003288/0.4261, allocations: 1.819 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.4274, allocations: 0.748 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.4275, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.4276, allocations: 15.86 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.4276, allocations: 19.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.4283, allocations: 179.3 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.4285, allocations: 139.6 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.4286, allocations: 37.84 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.4288, allocations: 63.77 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.4289, allocations: 47.77 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.4289, allocations: 12 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.4291, allocations: 55.95 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.4291, allocations: 27.91 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.4292, allocations: 59.66 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.4294, allocations: 155.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4294, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4295, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4295, allocations: 0 / 1.329 GB, free: 14.54 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.0006968/0.4302, allocations: 365.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4302, allocations: 12.03 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.4303, allocations: 38.73 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/0.4312, allocations: 128.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4315, allocations: 168.3 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.4317, allocations: 115.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4317, allocations: 12 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.4322, allocations: 167.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4322, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.4322, allocations: 7.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4322, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.4328, allocations: 155.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4339, allocations: 457 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.4349, allocations: 214.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.4352, allocations: 88.89 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4352, allocations: 7.984 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4353, allocations: 34.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.4353, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001046/0.4363, allocations: 261.4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.4364, allocations: 55.34 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.4365, allocations: 140.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.4365, allocations: 29.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.4366, allocations: 120.1 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4367, allocations: 23.78 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.4367, allocations: 29.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4369, allocations: 314.8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.4372, allocations: 75.91 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.4375, allocations: 94.5 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.4381, allocations: 158.4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4381, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006506/0.4387, allocations: 205.3 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4387, allocations: 8 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4387, allocations: 4.062 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4388, allocations: 3.984 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.439, allocations: 39.95 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.439, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.4392, allocations: 31.84 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.4393, allocations: 4 kB / 1.333 GB, free: 10.8 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.0001441/0.4394, allocations: 126.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.4394, allocations: 7.953 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007153/0.4402, allocations: 206.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4402, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4402, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4402, allocations: 384 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4405, allocations: 217.2 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4405, allocations: 4 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.4407, allocations: 27.95 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4407, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4407, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4407, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4407, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.4414, allocations: 295.2 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.4414, allocations: 11.91 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.4414, allocations: 7.938 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.4417, allocations: 31.95 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4418, allocations: 7.984 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4418, allocations: 7.984 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.162e-05/0.4419, allocations: 108.9 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4419, allocations: 0 / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000282/0.4422, allocations: 27.94 kB / 1.334 GB, free: 9.648 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.001258/0.4434, allocations: 0.8138 MB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006919/0.4441, allocations: 163.8 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4441, allocations: 3.938 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.4444, allocations: 79.98 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.4447, allocations: 11.98 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.4484, allocations: 1.833 MB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4488, allocations: 0.7079 MB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.4489, allocations: 15.75 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.449, allocations: 35.42 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of SimCode: time 1.924e-06/0.449, allocations: 0 / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.4794, allocations: 2.971 MB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.35, allocations: 10.25 kB / 1.34 GB, free: 3.008 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.571066102998884]