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.0008259/0.0008259, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008172/0.0008172, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9139/0.9139, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.087e-05, allocations: 4.953 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003279/0.003309, allocations: 1.773 MB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.004674, allocations: 0.6891 MB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.00477, allocations: 11.94 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.00482, allocations: 11.86 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.004897, allocations: 15.75 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.005604, allocations: 187.5 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005826, allocations: 131.6 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.005987, allocations: 37.55 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.006212, allocations: 83.84 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.006301, allocations: 35.83 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.006331, allocations: 12 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.006464, allocations: 51.95 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.0065, allocations: 27.91 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.006552, allocations: 39.89 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.00684, allocations: 183.4 kB / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006844, allocations: 0 / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006845, allocations: 0 / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.006851, allocations: 0 / 0.9842 GB, free: 15.28 MB / 0.948 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.0005137/0.007365, allocations: 365.7 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.007407, allocations: 12.03 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.007443, allocations: 38.75 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.007959, allocations: 132.6 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.008251, allocations: 158.1 kB / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.008331, allocations: 111.4 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.008349, allocations: 16.31 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.008674, allocations: 225 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.008682, allocations: 0 / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.0087, allocations: 8 kB / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.008704, allocations: 0 / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.009018, allocations: 155.8 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/0.009681, allocations: 425.3 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.01019, allocations: 214.3 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.01034, allocations: 76.91 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.01036, allocations: 3.938 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.01038, allocations: 38.56 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.01038, allocations: 0 / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0005646/0.01095, allocations: 261.3 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.01097, allocations: 63.28 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.01106, allocations: 144.6 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.01108, allocations: 29.7 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.01113, allocations: 120.2 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.01115, allocations: 11.84 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.01119, allocations: 25.7 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.01127, allocations: 322.8 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.01142, allocations: 71.92 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.01158, allocations: 98.44 kB / 0.9871 GB, free: 11.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.01188, allocations: 166.4 kB / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01189, allocations: 0 / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003474/0.01223, allocations: 197.4 kB / 0.9875 GB, free: 11.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01225, allocations: 11.92 kB / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01225, allocations: 8.062 kB / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01227, allocations: 320 / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.0124, allocations: 35.89 kB / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.0124, allocations: 4 kB / 0.9876 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.01249, allocations: 27.97 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.0125, allocations: 7.984 kB / 0.9876 GB, free: 11.52 MB / 0.948 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.31e-05/0.01257, allocations: 117.8 kB / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.0126, allocations: 11.89 kB / 0.9877 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.01299, allocations: 206.2 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01299, allocations: 4 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.013, allocations: 0 / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.013, allocations: 4 kB / 0.9879 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.01317, allocations: 185.7 kB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01317, allocations: 0 / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.01327, allocations: 31.95 kB / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.01327, allocations: 3.938 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01328, allocations: 4 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01328, allocations: 0 / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.01329, allocations: 0 / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.01386, allocations: 283.3 kB / 0.9884 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.01387, allocations: 11.95 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01389, allocations: 11.81 kB / 0.9884 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01403, allocations: 31.95 kB / 0.9885 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.01407, allocations: 7.984 kB / 0.9885 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01408, allocations: 11.98 kB / 0.9885 GB, free: 10.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.01414, allocations: 108.9 kB / 0.9886 GB, free: 10.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01414, allocations: 0 / 0.9886 GB, free: 10.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001909/0.01433, allocations: 27.95 kB / 0.9886 GB, free: 10.41 MB / 0.948 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.0006335/0.01496, allocations: 0.8099 MB / 0.9894 GB, free: 9.574 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.01535, allocations: 175.9 kB / 0.9896 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01535, allocations: 0 / 0.9896 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.01551, allocations: 83.98 kB / 0.9896 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.01577, allocations: 15.05 kB / 0.9897 GB, free: 9.309 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.01759, allocations: 1.849 MB / 0.9915 GB, free: 7.367 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.259e-05/0.01765, allocations: 89.31 kB / 0.9915 GB, free: 7.262 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.7e-05/0.01772, allocations: 16 kB / 0.9916 GB, free: 7.246 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.01779, allocations: 32.48 kB / 0.9916 GB, free: 7.215 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.01779, allocations: 0 / 0.9916 GB, free: 7.215 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.03572, allocations: 3.598 MB / 0.9951 GB, free: 3.773 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.894, allocations: 10.11 kB / 0.9951 GB, free: 3.766 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.110873106867075]