Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5805, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003395/0.5839, allocations: 2.225 MB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.5851, allocations: 0.7187 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.5852, allocations: 8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.5856, allocations: 99.33 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.5858, allocations: 63.47 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.5859, allocations: 39.95 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.5861, allocations: 207 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.5863, allocations: 74.42 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.5864, allocations: 83.66 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.5866, allocations: 83.61 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.5866, allocations: 16 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.5866, allocations: 16 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.5867, allocations: 35.84 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.5868, allocations: 99.47 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.587, allocations: 183.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.587, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.587, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.587, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 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.0007032/0.5877, allocations: 486.7 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5878, allocations: 12.03 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.5878, allocations: 46.73 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.5879, allocations: 24.66 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.5882, allocations: 257.6 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.5882, allocations: 8.375 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.5882, allocations: 16.38 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.5885, allocations: 149.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5886, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.5886, allocations: 7.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5886, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.5889, allocations: 111.9 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006651/0.5896, allocations: 0.4999 MB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.59, allocations: 166.8 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.5902, allocations: 72.83 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.5902, allocations: 7.984 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.5902, allocations: 30.56 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.5902, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004989/0.5907, allocations: 193.4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.5908, allocations: 51.41 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5909, allocations: 157.9 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.5909, allocations: 29.7 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.591, allocations: 128.2 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.591, allocations: 59.14 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.5911, allocations: 29.7 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.5912, allocations: 334.8 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.5914, allocations: 47.91 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.5915, allocations: 49.69 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.5917, allocations: 112.7 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5918, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000326/0.5921, allocations: 170.5 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5921, allocations: 5.719 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5921, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5921, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.5923, allocations: 35.98 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5923, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.5924, allocations: 23.83 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.5924, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 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 9.542e-05/0.5925, allocations: 137.7 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.5926, allocations: 15.81 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.5926, allocations: 21.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5926, allocations: 4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5926, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5927, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.5929, allocations: 249.5 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5929, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.5931, allocations: 43.97 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5931, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5931, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5932, allocations: 11.98 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5932, allocations: 3.938 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.5937, allocations: 316.7 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.5937, allocations: 100.9 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.5938, allocations: 4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5939, allocations: 11.98 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5939, allocations: 7.984 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.594, allocations: 8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.594, allocations: 117.6 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.594, allocations: 0 / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002619/0.5943, allocations: 43.84 kB / 1.025 GB, free: 9.879 MB / 0.7794 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.0007371/0.5951, allocations: 0.8535 MB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.5954, allocations: 131.8 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5954, allocations: 3.938 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.5956, allocations: 68.69 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5959, allocations: 24.55 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.5984, allocations: 2.108 MB / 1.029 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.5986, allocations: 0.7241 MB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.429e-05/0.5987, allocations: 17.55 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.5988, allocations: 55.42 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5988, allocations: 0 / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.6199, allocations: 3.334 MB / 1.033 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.745, allocations: 4.438 kB / 1.033 GB, free: 2.582 MB / 0.7794 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches