Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.00119/0.00119, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001271/0.001271, allocations: 214 kB / 23.04 MB, free: 5.082 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.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 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 2.932/2.932, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="cs",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.001783/0.001783, allocations: 59.45 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2853, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002519/0.2879, allocations: 1.553 MB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.2886, allocations: 498.7 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.2887, allocations: 7.938 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.2887, allocations: 3.938 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.2887, allocations: 11.86 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2889, allocations: 43.89 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.289, allocations: 51.78 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.2891, allocations: 7.984 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2892, allocations: 35.86 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.2893, allocations: 23.86 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2893, allocations: 4 kB / 1.348 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.907e-05/0.2894, allocations: 12 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.2894, allocations: 11.91 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2894, allocations: 23.88 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2895, allocations: 48.03 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2895, allocations: 4 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2895, allocations: 0 / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2895, allocations: 3.938 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004222/0.2899, allocations: 294.1 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.29, allocations: 12.03 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.477e-06/0.29, allocations: 192 / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.29, allocations: 34.73 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2902, allocations: 24.88 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.2904, allocations: 127.5 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.2904, allocations: 4.375 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2904, allocations: 384 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.2905, allocations: 61.55 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.2905, allocations: 4 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2905, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2905, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2907, allocations: 39.97 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.291, allocations: 240 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.2911, allocations: 42.5 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.2912, allocations: 20.94 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.2912, allocations: 0 / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2912, allocations: 42.55 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2912, allocations: 0 / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002953/0.2915, allocations: 85.61 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2915, allocations: 55.41 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.2916, allocations: 128.3 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2916, allocations: 25.7 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.2917, allocations: 96.14 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2917, allocations: 11.84 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2917, allocations: 25.64 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2919, allocations: 318.8 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.2919, allocations: 19.98 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.292, allocations: 16.17 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2921, allocations: 48.91 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2921, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001664/0.2923, allocations: 69.62 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2923, allocations: 7.984 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.2923, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2923, allocations: 7.875 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.2924, allocations: 8 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.2924, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.2925, allocations: 15.98 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2925, allocations: 0 / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.319e-05/0.2925, allocations: 113.8 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.2926, allocations: 3.953 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.2926, allocations: 15.98 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2926, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.2926, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2926, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2928, allocations: 148.7 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2928, allocations: 8 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.2928, allocations: 11.98 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2928, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2928, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2928, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2928, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2931, allocations: 175.4 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.2931, allocations: 7.953 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2931, allocations: 4 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.2932, allocations: 3.984 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2932, allocations: 4 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2932, allocations: 0 / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.2933, allocations: 99.27 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.2933, allocations: 0 / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002052/0.2935, allocations: 8 kB / 1.35 GB, free: 11.41 MB / 1.045 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 (3): * Single equations (assignments): 3 * 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.0004817/0.2939, allocations: 0.7045 MB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2941, allocations: 39.95 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2941, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.2942, allocations: 23.98 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.2944, allocations: 11.39 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2958, allocations: 1.387 MB / 1.352 GB, free: 9.145 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2961, allocations: 0.6846 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.2961, allocations: 4 kB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.2961, allocations: 19.42 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.2961, allocations: 0 / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.3166, allocations: 1.694 MB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.39, allocations: 3.781 kB / 1.354 GB, free: 6.863 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.467679183988366]