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.001648/0.001648, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00204/0.00204, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.647/1.647, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.265/3.265, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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.002109/0.002109, allocations: 62.16 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4203, allocations: 176.1 MB / 1.321 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003834/0.4241, allocations: 1.807 MB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4258, allocations: 0.7324 MB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.4259, allocations: 0 / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/0.426, allocations: 15.86 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.618e-05/0.426, allocations: 23.73 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.4268, allocations: 178.2 kB / 1.323 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.4271, allocations: 127.7 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.4273, allocations: 33.72 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.4275, allocations: 75.69 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.4277, allocations: 43.78 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.4277, allocations: 8 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4278, allocations: 59.94 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.4279, allocations: 23.92 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.428, allocations: 63.64 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.4283, allocations: 155.4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.4283, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4283, allocations: 4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4283, allocations: 0 / 1.324 GB, free: 15.9 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.0008633/0.4292, allocations: 446.7 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.4292, allocations: 15.98 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/0.4293, allocations: 34.75 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4304, allocations: 132.7 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.4308, allocations: 218.7 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.4309, allocations: 67.7 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.4309, allocations: 8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.4315, allocations: 179.7 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4315, allocations: 3.984 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.4315, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4315, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.4322, allocations: 155.8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4334, allocations: 485.9 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.4345, allocations: 214.3 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.4348, allocations: 84.84 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.4349, allocations: 7.969 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.4349, allocations: 38.5 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4349, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.00112/0.436, allocations: 257.4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4361, allocations: 55.41 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.4362, allocations: 152.8 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.4363, allocations: 25.7 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.4363, allocations: 112.2 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4364, allocations: 23.8 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.4364, allocations: 25.7 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4366, allocations: 322.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.4369, allocations: 67.92 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.4373, allocations: 98.48 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.4379, allocations: 166.4 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4379, allocations: 0 / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007396/0.4386, allocations: 213.6 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4387, allocations: 4.062 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4387, allocations: 4 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4387, allocations: 4 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.439, allocations: 35.89 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.439, allocations: 7.984 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.4392, allocations: 23.92 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4392, allocations: 160 / 1.328 GB, free: 12.02 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.0001287/0.4393, allocations: 133.7 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.4394, allocations: 7.953 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007817/0.4402, allocations: 202.2 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4402, allocations: 4 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4402, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4402, allocations: 7.938 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.4405, allocations: 234.1 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4405, allocations: 0 / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.4407, allocations: 39.94 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4407, allocations: 0 / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4407, allocations: 0 / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4407, allocations: 0 / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4407, allocations: 7.984 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.4415, allocations: 291.2 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4416, allocations: 85.06 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4416, allocations: 4 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4419, allocations: 31.95 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.442, allocations: 7.984 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.442, allocations: 16.05 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.4421, allocations: 107.2 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4421, allocations: 0 / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002725/0.4423, allocations: 24 kB / 1.329 GB, free: 10.74 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.00115/0.4435, allocations: 0.8287 MB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000722/0.4442, allocations: 159.8 kB / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4442, allocations: 0 / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.4446, allocations: 88.03 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.4449, allocations: 11.94 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.4484, allocations: 1.837 MB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4487, allocations: 0.7002 MB / 1.332 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.72e-05/0.4488, allocations: 27.72 kB / 1.332 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.4489, allocations: 31.42 kB / 1.332 GB, free: 6.922 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4489, allocations: 0 / 1.332 GB, free: 6.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.4762, allocations: 2.808 MB / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.684, allocations: 19.36 kB / 1.335 GB, free: 4.18 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.884389274055138]