Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.001377/0.001377, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001484/0.001484, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.002038/0.002038, allocations: 63.94 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3765, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004868/0.3814, allocations: 2.829 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3833, allocations: 0.88 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.3836, allocations: 11.94 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.3842, allocations: 119.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3847, allocations: 142.8 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.3849, allocations: 87.89 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.3856, allocations: 457.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.3858, allocations: 102.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.3861, allocations: 167.4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.3865, allocations: 183.1 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.3866, allocations: 32 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3867, allocations: 32 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.3868, allocations: 79.69 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.387, allocations: 163.3 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.3875, allocations: 406.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3875, allocations: 3.984 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3875, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.3875, allocations: 0 / 1.332 GB, free: 11.83 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001162/0.3887, allocations: 0.5795 MB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3887, allocations: 8.031 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.697e-05/0.3887, allocations: 9.188 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.103e-05/0.3888, allocations: 74.66 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3889, allocations: 44.7 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.3896, allocations: 250.8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.3896, allocations: 29.38 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/0.3897, allocations: 40.36 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.3904, allocations: 370.6 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.3904, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3904, allocations: 16 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.3904, allocations: 12 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.3909, allocations: 212.6 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.3928, allocations: 1.377 MB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3933, allocations: 270.6 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3935, allocations: 107.3 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3936, allocations: 4 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.3936, allocations: 46.5 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.3936, allocations: 0 / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0006624/0.3943, allocations: 277.2 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3944, allocations: 140.5 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3947, allocations: 237.9 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3947, allocations: 29.7 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3949, allocations: 188.5 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.395, allocations: 122.9 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3951, allocations: 62.08 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3953, allocations: 334.8 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3954, allocations: 72.72 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3956, allocations: 157.7 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.396, allocations: 240.4 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.396, allocations: 0 / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005277/0.3965, allocations: 301.5 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3965, allocations: 4 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3965, allocations: 11.95 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3966, allocations: 4 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3969, allocations: 95.98 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.3969, allocations: 7.984 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3971, allocations: 35.73 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3971, allocations: 16 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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.0001708/0.3973, allocations: 145.7 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3974, allocations: 35.75 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.3975, allocations: 37.7 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3975, allocations: 4 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3975, allocations: 0 / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3975, allocations: 3.984 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.3982, allocations: 296.5 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3982, allocations: 0 / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.3986, allocations: 88.62 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.3986, allocations: 4 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3986, allocations: 8 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3986, allocations: 0 / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3987, allocations: 4 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.3993, allocations: 0.6266 MB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3994, allocations: 43.73 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.3995, allocations: 11.98 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3997, allocations: 4 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.3998, allocations: 23.97 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3998, allocations: 8 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000192/0.4, allocations: 177.2 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 0 / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005452/0.4005, allocations: 99.78 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T) * 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 (30): * Single equations (assignments): 30 * 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.001063/0.4016, allocations: 1.189 MB / 1.34 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.402, allocations: 188.2 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.402, allocations: 4 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4021, allocations: 91.83 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.4028, allocations: 47.05 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.4077, allocations: 3.57 MB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4079, allocations: 185.3 kB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.408, allocations: 30.95 kB / 1.344 GB, free: 14.6 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.4082, allocations: 111.4 kB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of SimCode: time 8.31e-07/0.4082, allocations: 0 / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.4393, allocations: 6.177 MB / 1.351 GB, free: 8.527 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.65, allocations: 13.39 kB / 1.351 GB, free: 8.516 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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: 19.613936563022435]