Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001501/0.001501, 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.001687/0.001687, 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.077/3.077, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_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.00205/0.00205, allocations: 70.77 kB / 1.171 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004313/0.3685, allocations: 2.814 MB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3701, allocations: 0.8839 MB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3703, allocations: 11.94 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.3708, allocations: 115.1 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.371, allocations: 142.8 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3712, allocations: 87.83 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.3718, allocations: 465.5 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.372, allocations: 102.3 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.3722, allocations: 171.4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.3725, allocations: 179.2 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.3726, allocations: 35.94 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.3726, allocations: 32 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.3727, allocations: 75.69 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3729, allocations: 167.2 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.3734, allocations: 410.2 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3734, allocations: 0 / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3734, allocations: 0 / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.3734, allocations: 0 / 1.351 GB, free: 10.22 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001078/0.3745, allocations: 0.5795 MB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3745, allocations: 11.97 kB / 1.351 GB, free: 9.598 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.3746, allocations: 9.188 kB / 1.351 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.3747, allocations: 70.72 kB / 1.351 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.3747, allocations: 48.66 kB / 1.352 GB, free: 9.465 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.3753, allocations: 250.8 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.3754, allocations: 25.38 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.3754, allocations: 36.38 kB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.376, allocations: 370.7 kB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.376, allocations: 7.891 kB / 1.352 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3761, allocations: 16 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3761, allocations: 8 kB / 1.352 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.3764, allocations: 208.6 kB / 1.352 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.3781, allocations: 1.377 MB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.3785, allocations: 274.6 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3787, allocations: 107.3 kB / 1.354 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3787, allocations: 11.98 kB / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3787, allocations: 42.5 kB / 1.354 GB, free: 6.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.3787, allocations: 0 / 1.354 GB, free: 6.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0005529/0.3793, allocations: 273.3 kB / 1.354 GB, free: 6.293 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.3794, allocations: 140.5 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3796, allocations: 233.9 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3796, allocations: 29.7 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3798, allocations: 188.5 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.3799, allocations: 123 kB / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.38, allocations: 66.02 kB / 1.355 GB, free: 5.465 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3801, allocations: 338.8 kB / 1.355 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3802, allocations: 76.72 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3804, allocations: 149.8 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.3808, allocations: 236.4 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3808, allocations: 0 / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004237/0.3812, allocations: 314 kB / 1.356 GB, free: 4.301 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3812, allocations: 7.984 kB / 1.356 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3812, allocations: 4 kB / 1.356 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3812, allocations: 4 kB / 1.356 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3815, allocations: 83.91 kB / 1.356 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3815, allocations: 7.938 kB / 1.356 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3817, allocations: 31.78 kB / 1.356 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3817, allocations: 19.94 kB / 1.356 GB, free: 4.145 MB / 1.045 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.000141/0.3818, allocations: 149.7 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3819, allocations: 43.72 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.382, allocations: 29.78 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.382, allocations: 7.984 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.382, allocations: 4 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.382, allocations: 0 / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.3825, allocations: 300.4 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3825, allocations: 0 / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.3829, allocations: 83.84 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3829, allocations: 4 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3829, allocations: 7.984 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3829, allocations: 4 kB / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3829, allocations: 0 / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.3835, allocations: 0.6304 MB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.3836, allocations: 47.72 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.3837, allocations: 8 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.3839, allocations: 4 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.3839, allocations: 19.97 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3839, allocations: 11.98 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001504/0.3841, allocations: 173.2 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3841, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004526/0.3845, allocations: 91.83 kB / 1.358 GB, free: 2.48 MB / 1.045 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.0009089/0.3854, allocations: 1.184 MB / 1.359 GB, free: 1.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3858, allocations: 184.3 kB / 1.359 GB, free: 1.09 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3858, allocations: 4 kB / 1.359 GB, free: 1.086 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3859, allocations: 91.84 kB / 1.359 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.3865, allocations: 52.47 kB / 1.359 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.3908, allocations: 3.597 MB / 1.363 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.391, allocations: 181 kB / 1.363 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.3911, allocations: 34.97 kB / 1.363 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3913, allocations: 107.4 kB / 1.363 GB, free: 12.86 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/0.3913, allocations: 0 / 1.363 GB, free: 12.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.4218, allocations: 6.165 MB / 1.369 GB, free: 6.949 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 8.062 kB / 1.369 GB, free: 6.941 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.478902108967304]