Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.001486/0.001486, allocations: 99.75 kB / 18.95 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.00228/0.00228, allocations: 215 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.82 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.193/3.193, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",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.002027/0.002027, allocations: 69.69 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4021, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.004058/0.4061, allocations: 2.171 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4076, allocations: 0.7009 MB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4077, allocations: 12 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.4082, allocations: 91.42 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.4083, allocations: 63.47 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.4084, allocations: 35.95 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.4087, allocations: 215 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.4089, allocations: 51.48 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.4091, allocations: 87.64 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.4092, allocations: 91.61 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.4093, allocations: 16 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.27e-05/0.4093, allocations: 12 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.4094, allocations: 35.86 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4095, allocations: 75.66 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.4098, allocations: 191.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4098, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4098, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4098, allocations: 0 / 1.33 GB, free: 13.64 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.0008864/0.4107, allocations: 425.4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.4108, allocations: 8.031 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.4108, allocations: 50.67 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.4109, allocations: 24.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.4113, allocations: 198.8 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.4113, allocations: 8.375 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.4114, allocations: 20.38 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.4117, allocations: 153.9 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4117, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4117, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4117, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.412, allocations: 115.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.4128, allocations: 443.4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.4133, allocations: 158.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.4135, allocations: 64.83 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4135, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4136, allocations: 30.56 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.4136, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005239/0.4141, allocations: 205.4 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.4141, allocations: 51.41 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.4143, allocations: 159.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4143, allocations: 25.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.4144, allocations: 128.3 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.4145, allocations: 63.47 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.4145, allocations: 25.72 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4147, allocations: 334.8 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.4148, allocations: 47.97 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4149, allocations: 47.97 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.4152, allocations: 106.4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4152, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003382/0.4155, allocations: 170.6 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4155, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4155, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4156, allocations: 7.938 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4157, allocations: 39.97 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4158, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.4158, allocations: 19.88 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4159, allocations: 4 kB / 1.333 GB, free: 10.36 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.0001288/0.416, allocations: 129.7 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.416, allocations: 11.95 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.729e-05/0.4161, allocations: 17.47 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4161, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4161, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4161, allocations: 7.984 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.4164, allocations: 212.5 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4164, allocations: 0 / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4166, allocations: 43.91 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4166, allocations: 0 / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.4166, allocations: 4 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4166, allocations: 3.938 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4166, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.4172, allocations: 317.1 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.4172, allocations: 31.88 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.4173, allocations: 0 / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4174, allocations: 11.98 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.4174, allocations: 7.984 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4174, allocations: 4 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001006/0.4175, allocations: 120.9 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4175, allocations: 0 / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002714/0.4178, allocations: 43.89 kB / 1.334 GB, free: 9.336 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.0008479/0.4187, allocations: 0.8645 MB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.419, allocations: 116.2 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.419, allocations: 0 / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.4191, allocations: 59.91 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.4195, allocations: 27.98 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.4223, allocations: 2.102 MB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.4224, allocations: 116.2 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.91e-05/0.4225, allocations: 17.47 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.4226, allocations: 59.41 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4226, allocations: 3.938 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.4575, allocations: 4.05 MB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.7, allocations: 5.609 kB / 1.341 GB, free: 1.973 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.527916133985855]