Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001286/0.001286, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001505/0.001505, allocations: 218.4 kB / 22.25 MB, free: 5.105 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.824 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.15/3.15, allocations: 0.49 GB / 0.7951 GB, free: 35.38 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.HeatCapacityVariableShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.002076/0.002076, allocations: 73.5 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3715, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003806/0.3753, allocations: 2.173 MB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3767, allocations: 0.697 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3768, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.3773, allocations: 91.41 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3774, allocations: 63.48 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.503e-05/0.3775, allocations: 35.95 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3778, allocations: 223 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.378, allocations: 54.67 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3781, allocations: 79.72 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3783, allocations: 87.55 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.3783, allocations: 16 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.3783, allocations: 19.94 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.3784, allocations: 35.84 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.3785, allocations: 67.67 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.3787, allocations: 195.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3788, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3788, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3788, allocations: 7.984 kB / 1.33 GB, free: 13.65 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008116/0.3796, allocations: 409.4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3796, allocations: 8.031 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.3797, allocations: 54.73 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.3797, allocations: 20.8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.3802, allocations: 196.4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3802, allocations: 12.38 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.3802, allocations: 20.31 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.3806, allocations: 153.9 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3806, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.3806, allocations: 8 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3806, allocations: 7.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.381, allocations: 111.9 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.3817, allocations: 439.3 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.3822, allocations: 154.8 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3824, allocations: 64.83 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3824, allocations: 8 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3824, allocations: 30.56 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3824, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005362/0.383, allocations: 199.5 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.383, allocations: 55.41 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3832, allocations: 155.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3832, allocations: 29.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.3833, allocations: 132.3 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.3833, allocations: 63.47 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.3834, allocations: 33.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3836, allocations: 330.8 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3837, allocations: 43.97 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3838, allocations: 43.97 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.384, allocations: 110.5 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.384, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000337/0.3844, allocations: 174.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3844, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3844, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3844, allocations: 3.984 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3846, allocations: 35.98 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3846, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/0.3847, allocations: 19.88 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3847, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 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.0001224/0.3848, allocations: 137.7 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.3849, allocations: 7.953 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.3849, allocations: 21.45 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3849, allocations: 7.938 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3849, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3849, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3852, allocations: 216.5 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3852, allocations: 0 / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3855, allocations: 39.97 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3855, allocations: 0 / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3855, allocations: 4 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3855, allocations: 8 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3855, allocations: 0 / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.3861, allocations: 311.2 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.3862, allocations: 23.88 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3862, allocations: 8.094 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3863, allocations: 7.984 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3864, allocations: 11.97 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.3864, allocations: 8 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3865, allocations: 120 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3865, allocations: 0 / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002768/0.3868, allocations: 43.89 kB / 1.334 GB, free: 9.352 MB / 1.029 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.0009377/0.3877, allocations: 0.8561 MB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3881, allocations: 115.9 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3881, allocations: 0 / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3882, allocations: 63.89 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3886, allocations: 29.06 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.3919, allocations: 2.108 MB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.392, allocations: 112.2 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.392, allocations: 17.48 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3922, allocations: 55.41 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3922, allocations: 0 / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.4257, allocations: 4.052 MB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 8.844 kB / 1.341 GB, free: 1.988 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.315195124974707]