Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.001613/0.001613, allocations: 97.31 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.002047/0.002047, allocations: 217.8 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.122/3.122, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.001988/0.001988, allocations: 68.41 kB / 1.171 GB, free: 19.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003803/0.3703, allocations: 2.162 MB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3721, allocations: 0.701 MB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.3723, allocations: 4 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.373, allocations: 91.42 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.3733, allocations: 63.47 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.3735, allocations: 39.95 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.3739, allocations: 207 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.3742, allocations: 60.08 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.3744, allocations: 83.66 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3746, allocations: 87.55 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.3747, allocations: 20 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.3747, allocations: 16 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.3748, allocations: 39.84 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3749, allocations: 71.66 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.3753, allocations: 195.1 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3753, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3753, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3753, allocations: 0 / 1.349 GB, free: 12.07 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009013/0.3762, allocations: 429.1 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3762, allocations: 8.031 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.279e-05/0.3763, allocations: 8.188 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.3763, allocations: 46.73 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.3764, allocations: 16.84 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.3768, allocations: 199.9 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3768, allocations: 16.36 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.3769, allocations: 16.38 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3772, allocations: 141.6 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3773, allocations: 4 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3773, allocations: 8 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3773, allocations: 4 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3776, allocations: 115.7 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.3784, allocations: 443.3 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.3789, allocations: 146.8 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.3791, allocations: 72.81 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3791, allocations: 0 / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3791, allocations: 34.56 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3791, allocations: 0 / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0005713/0.3797, allocations: 208.1 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3797, allocations: 51.41 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3799, allocations: 159.3 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3799, allocations: 25.7 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.393e-05/0.38, allocations: 124.4 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.3801, allocations: 63.5 kB / 1.351 GB, free: 9.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.3801, allocations: 33.62 kB / 1.351 GB, free: 9.566 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3803, allocations: 326.8 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3804, allocations: 51.91 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3805, allocations: 51.97 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3808, allocations: 110.2 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3808, allocations: 0 / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003511/0.3811, allocations: 170.8 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3811, allocations: 4 kB / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3812, allocations: 4 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3812, allocations: 0 / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3813, allocations: 43.97 kB / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3814, allocations: 0 / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.816e-05/0.3814, allocations: 15.89 kB / 1.352 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3814, allocations: 7.938 kB / 1.352 GB, free: 8.781 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 (18): * Single equations (assignments): 18 * 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.0001128/0.3816, allocations: 133.7 kB / 1.352 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.3816, allocations: 19.89 kB / 1.352 GB, free: 8.621 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.3817, allocations: 21.47 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3817, allocations: 0 / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3817, allocations: 4 kB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3817, allocations: 0 / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.382, allocations: 208.6 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.382, allocations: 0 / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3822, allocations: 39.98 kB / 1.352 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3822, allocations: 0 / 1.352 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3822, allocations: 4 kB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3822, allocations: 0 / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3822, allocations: 7.922 kB / 1.352 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.3827, allocations: 319.3 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3828, allocations: 23.92 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.3828, allocations: 0 / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3829, allocations: 11.98 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3829, allocations: 7.984 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.383, allocations: 8 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.3831, allocations: 112 kB / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002622/0.3833, allocations: 43.89 kB / 1.353 GB, free: 7.762 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.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 (15): * Single equations (assignments): 15 * 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.0008207/0.3841, allocations: 0.8631 MB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.3844, allocations: 109.3 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3845, allocations: 4 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3846, allocations: 59.91 kB / 1.354 GB, free: 6.707 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3849, allocations: 36.67 kB / 1.354 GB, free: 6.672 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.3877, allocations: 2.102 MB / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.3878, allocations: 112.2 kB / 1.356 GB, free: 4.367 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.876e-05/0.3879, allocations: 17.48 kB / 1.356 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.388, allocations: 55.41 kB / 1.356 GB, free: 4.297 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.388, allocations: 0 / 1.356 GB, free: 4.297 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.4143, allocations: 3.681 MB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 8.375 kB / 1.36 GB, free: 0.8203 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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: 18.14680932892952]