Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.34/2.34, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 75.88 kB / 1.059 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2837, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002976/0.2866, allocations: 1.809 MB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2878, allocations: 0.6671 MB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.2878, allocations: 8 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.2879, allocations: 11.81 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.2879, allocations: 19.78 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.2885, allocations: 167.5 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2887, allocations: 115.7 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2888, allocations: 41.36 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2889, allocations: 59.78 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.289, allocations: 51.75 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.289, allocations: 8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2892, allocations: 51.97 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.2892, allocations: 31.89 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.2892, allocations: 47.73 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.2895, allocations: 155.3 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2895, allocations: 4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2895, allocations: 0 / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2895, allocations: 0 / 1.219 GB, free: 12.66 MB / 0.9669 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.0006053/0.2901, allocations: 438.8 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2901, allocations: 8.031 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.2902, allocations: 42.75 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008019/0.291, allocations: 112.7 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.2911, allocations: 189.9 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.2912, allocations: 63.97 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2912, allocations: 8.375 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.2917, allocations: 173.5 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2918, allocations: 0 / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2918, allocations: 4 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2918, allocations: 4 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.2924, allocations: 159.7 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2935, allocations: 493.5 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.2945, allocations: 214.3 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.2948, allocations: 84.91 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2948, allocations: 7.969 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2948, allocations: 30.56 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.2948, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001043/0.2959, allocations: 269.3 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.2959, allocations: 55.34 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2961, allocations: 135.9 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2961, allocations: 25.7 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.2962, allocations: 116.2 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2962, allocations: 19.84 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.2963, allocations: 29.7 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2964, allocations: 322.8 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.2967, allocations: 71.91 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.297, allocations: 94.5 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.2976, allocations: 162.6 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2976, allocations: 4 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006795/0.2983, allocations: 201.4 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2983, allocations: 5.719 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2983, allocations: 8 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2983, allocations: 0 / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.2986, allocations: 43.94 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2986, allocations: 0 / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2988, allocations: 23.91 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2988, allocations: 4 kB / 1.222 GB, free: 8.855 MB / 0.9669 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.0001021/0.2989, allocations: 113.8 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.2989, allocations: 19.88 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.2996, allocations: 210.1 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2996, allocations: 4 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2996, allocations: 0 / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2997, allocations: 0 / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.2999, allocations: 230.4 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2999, allocations: 3.984 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.3002, allocations: 31.95 kB / 1.223 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3002, allocations: 0 / 1.223 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3002, allocations: 7.938 kB / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3002, allocations: 0 / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3002, allocations: 0 / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.3009, allocations: 295.3 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.3009, allocations: 81.06 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3009, allocations: 8.125 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3012, allocations: 35.95 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3013, allocations: 3.984 kB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3013, allocations: 11.98 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.3014, allocations: 106 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3014, allocations: 0 / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002556/0.3016, allocations: 27.89 kB / 1.223 GB, free: 7.59 MB / 0.9669 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.0009927/0.3026, allocations: 0.8177 MB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006389/0.3033, allocations: 159.8 kB / 1.224 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3033, allocations: 0 / 1.224 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.3036, allocations: 91.97 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3039, allocations: 11.94 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.3069, allocations: 1.823 MB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3072, allocations: 0.7003 MB / 1.227 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.3073, allocations: 15.98 kB / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.3074, allocations: 31.42 kB / 1.227 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.3074, allocations: 0 / 1.227 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.3326, allocations: 2.76 MB / 1.23 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.385, allocations: 4.766 kB / 1.23 GB, free: 1.121 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.620444110005337]