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.001385/0.001385, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001537/0.001537, allocations: 214.2 kB / 22.25 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.02 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.233/3.233, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.002057/0.002057, allocations: 66.72 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.375, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004894/0.3799, allocations: 3.076 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.3817, allocations: 0.9384 MB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.3821, allocations: 11.94 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.3827, allocations: 131.1 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.3831, allocations: 134.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3834, allocations: 99.83 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.3841, allocations: 449.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3844, allocations: 114.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.3846, allocations: 171.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.3849, allocations: 171.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.385, allocations: 28 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.385, allocations: 35.94 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.3851, allocations: 87.61 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3853, allocations: 195.1 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.3858, allocations: 406.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3858, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3858, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3858, allocations: 0 / 1.332 GB, free: 11.93 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.0009752/0.3867, allocations: 0.5795 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3868, allocations: 8.031 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.838e-05/0.3869, allocations: 70.72 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.3869, allocations: 44.7 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.3875, allocations: 254.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.3875, allocations: 21.38 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.3876, allocations: 44.38 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.3881, allocations: 366.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.3881, allocations: 15.89 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3881, allocations: 16 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3881, allocations: 12 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.3885, allocations: 204.6 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.3901, allocations: 1.436 MB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3906, allocations: 274.6 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3907, allocations: 103.4 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3907, allocations: 11.94 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3908, allocations: 42.5 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.3908, allocations: 0 / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0005795/0.3914, allocations: 277.9 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.3915, allocations: 136.5 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.3917, allocations: 241.9 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3917, allocations: 29.7 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3919, allocations: 188.5 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.716e-05/0.392, allocations: 126.9 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.392, allocations: 58.08 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3922, allocations: 334.8 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3923, allocations: 72.72 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.3925, allocations: 157.8 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3928, allocations: 236.6 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.3928, allocations: 7.938 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004464/0.3933, allocations: 305.1 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3933, allocations: 4 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3933, allocations: 4 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3933, allocations: 4.156 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.3937, allocations: 91.89 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3937, allocations: 4 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3938, allocations: 39.67 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3939, allocations: 16 kB / 1.337 GB, free: 5.797 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.0001413/0.394, allocations: 149.7 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3941, allocations: 35.75 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.3942, allocations: 37.7 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3942, allocations: 4 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3942, allocations: 4 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3942, allocations: 3.984 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.3947, allocations: 316.4 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3947, allocations: 3.938 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.3951, allocations: 79.89 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3951, allocations: 4 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.3951, allocations: 8 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3951, allocations: 0 / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3951, allocations: 4 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.3958, allocations: 0.6305 MB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.3959, allocations: 43.72 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.3959, allocations: 8 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3961, allocations: 8 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3962, allocations: 15.95 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.3962, allocations: 12 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001639/0.3963, allocations: 173.2 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3963, allocations: 0 / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004951/0.3968, allocations: 103.8 kB / 1.339 GB, free: 4.102 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.000931/0.3978, allocations: 1.186 MB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.3981, allocations: 204.6 kB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3981, allocations: 0 / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3983, allocations: 87.84 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.3989, allocations: 49.09 kB / 1.34 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.4035, allocations: 3.574 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4039, allocations: 0.7871 MB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.4041, allocations: 38.95 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.4042, allocations: 103.4 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.4042, allocations: 0 / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.4419, allocations: 6.074 MB / 1.351 GB, free: 7.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.36, allocations: 8.047 kB / 1.351 GB, free: 7.98 MB / 1.045 GB " [Timeout remaining time 288] (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.20071971300058]