Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007708/0.0007708, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008292/0.0008292, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9161/0.9161, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.798/1.798, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.232e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002204/0.002226, allocations: 1.753 MB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.003124, allocations: 0.6892 MB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.003189, allocations: 7.938 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.003224, allocations: 11.81 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.00328, allocations: 19.73 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.003768, allocations: 190.2 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.003924, allocations: 135.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.004052, allocations: 37.59 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.004204, allocations: 87.84 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.004268, allocations: 31.91 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.00429, allocations: 8 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.004381, allocations: 59.88 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.004405, allocations: 27.91 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.004442, allocations: 43.83 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.004629, allocations: 163.5 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.004633, allocations: 3.984 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004634, allocations: 0 / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.004638, allocations: 0 / 1.003 GB, free: 10.21 MB / 0.9636 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.0004487/0.005087, allocations: 369.7 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.005125, allocations: 16.69 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.005162, allocations: 42.73 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.005654, allocations: 124.7 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.005866, allocations: 160.2 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.005947, allocations: 115.4 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005965, allocations: 12.31 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.00629, allocations: 229 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.006298, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.006314, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.006319, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.006623, allocations: 163.8 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.007255, allocations: 421.3 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.007753, allocations: 210.3 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.007903, allocations: 84.89 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.007924, allocations: 3.938 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.007945, allocations: 34.56 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007946, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0005502/0.008497, allocations: 261.3 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.008535, allocations: 59.41 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.008618, allocations: 137.2 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.008636, allocations: 29.7 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.008689, allocations: 112.2 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.008711, allocations: 27.83 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008752, allocations: 21.72 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.008833, allocations: 322.8 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.008984, allocations: 71.91 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.009142, allocations: 98.38 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.009435, allocations: 162.4 kB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009437, allocations: 0 / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003456/0.009782, allocations: 205.4 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.009798, allocations: 15.88 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.009802, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.009814, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.00994, allocations: 43.88 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.009945, allocations: 160 / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.01003, allocations: 27.97 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01004, allocations: 4 kB / 1.006 GB, free: 6.457 MB / 0.9636 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 7.145e-05/0.01011, allocations: 117.8 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.01014, allocations: 19.83 kB / 1.006 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.01052, allocations: 214.6 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01052, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01052, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01053, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01069, allocations: 181.7 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01069, allocations: 4 kB / 1.007 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.01078, allocations: 27.95 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.01079, allocations: 15.92 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.0108, allocations: 4 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0108, allocations: 3.984 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0108, allocations: 0 / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.01116, allocations: 279.3 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.01117, allocations: 11.91 kB / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.01119, allocations: 7.938 kB / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01132, allocations: 31.89 kB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.01135, allocations: 11.98 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01136, allocations: 7.984 kB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.01141, allocations: 103.3 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001787/0.01159, allocations: 23.94 kB / 1.007 GB, free: 5.34 MB / 0.9636 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.0005665/0.01216, allocations: 0.8177 MB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.01251, allocations: 163.8 kB / 1.008 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01252, allocations: 0 / 1.008 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.01267, allocations: 83.84 kB / 1.008 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01288, allocations: 9.562 kB / 1.008 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.01465, allocations: 1.855 MB / 1.01 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01471, allocations: 89.25 kB / 1.01 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.01477, allocations: 19.98 kB / 1.01 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.01483, allocations: 32.48 kB / 1.01 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.01483, allocations: 0 / 1.01 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.02947, allocations: 3.593 MB / 1.014 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.135, allocations: 13.48 kB / 1.014 GB, free: 14.69 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.355206330306828]