Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001214/0.001214, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001369/0.001369, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 8.016 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 2.902/2.902, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",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.001872/0.001872, allocations: 69.23 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003298/0.2914, allocations: 2.028 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2928, allocations: 0.7637 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2929, allocations: 3.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.293, allocations: 23.73 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.2931, allocations: 19.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.2935, allocations: 95.77 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.2937, allocations: 155.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.2939, allocations: 65.19 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.2941, allocations: 71.7 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2942, allocations: 71.62 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.2942, allocations: 16 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2944, allocations: 71.94 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2945, allocations: 75.73 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.2946, allocations: 91.34 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.295, allocations: 266.9 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.295, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.295, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.295, allocations: 0 / 1.33 GB, free: 14.11 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008516/0.2959, allocations: 484.9 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2959, allocations: 15.97 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.296, allocations: 46.73 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.2977, allocations: 436 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.2981, allocations: 249.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.2982, allocations: 127.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.2983, allocations: 12.38 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.2991, allocations: 379.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2991, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2991, allocations: 12 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2991, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3003, allocations: 0.5429 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.302, allocations: 0.9731 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.3027, allocations: 286.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.3033, allocations: 272.6 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3033, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3033, allocations: 34.56 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.3033, allocations: 3.938 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001857/0.3052, allocations: 0.7859 MB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3052, allocations: 55.39 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.3056, allocations: 297.9 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3056, allocations: 25.7 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3057, allocations: 156.4 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.3058, allocations: 27.73 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.3058, allocations: 41.67 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.306, allocations: 330.8 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.3066, allocations: 259.7 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.3071, allocations: 259.8 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3081, allocations: 440.4 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3081, allocations: 3.938 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001184/0.3093, allocations: 0.5362 MB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3093, allocations: 5.562 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3093, allocations: 0 / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3094, allocations: 3.984 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.3097, allocations: 95.83 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3097, allocations: 0 / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.31, allocations: 71.83 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.3101, allocations: 7.969 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001672/0.3102, allocations: 145.8 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3103, allocations: 23.86 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3103, allocations: 29.64 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3103, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3103, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3103, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.3108, allocations: 422.8 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3108, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.3112, allocations: 99.83 kB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3112, allocations: 0 / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3112, allocations: 11.97 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3112, allocations: 0 / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3112, allocations: 0 / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.3125, allocations: 0.6283 MB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.3125, allocations: 23.84 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.3126, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3129, allocations: 71.88 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3129, allocations: 11.92 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.313, allocations: 7.984 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002259/0.3132, allocations: 229.2 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3132, allocations: 0 / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002943/0.3135, allocations: 43.83 kB / 1.338 GB, free: 4.902 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: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001614/0.3151, allocations: 1.181 MB / 1.339 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.3163, allocations: 0.5306 MB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3163, allocations: 0 / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.3169, allocations: 271.7 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3172, allocations: 16.44 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/0.3232, allocations: 3.905 MB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3236, allocations: 0.7513 MB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.3238, allocations: 57.41 kB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3239, allocations: 79.38 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.3239, allocations: 4 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.3535, allocations: 5.245 MB / 1.35 GB, free: 8.875 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.943/10.3, allocations: 3.984 kB / 1.35 GB, free: 8.871 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.311018391977996]