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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_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.007156/0.007156, allocations: 97.27 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.555/2.555, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 68.08 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.7225, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003268/0.7258, allocations: 2.22 MB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.727, allocations: 0.7128 MB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.7272, allocations: 4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.7276, allocations: 103.3 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.7278, allocations: 59.48 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.7279, allocations: 39.94 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.7281, allocations: 211 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.7283, allocations: 81.05 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.7285, allocations: 83.7 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.7286, allocations: 83.56 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.7287, allocations: 16 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.7287, allocations: 20 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.7287, allocations: 35.84 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.7288, allocations: 95.45 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.7291, allocations: 188.1 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7291, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7291, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7291, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 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.0007142/0.7298, allocations: 496.9 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7299, allocations: 12.62 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.7299, allocations: 54.72 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.73, allocations: 24.8 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.7304, allocations: 252.6 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.7304, allocations: 8.375 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.7304, allocations: 24.38 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.7308, allocations: 155 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7308, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.7308, allocations: 4 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7308, allocations: 4 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.7311, allocations: 107.9 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.7318, allocations: 0.5001 MB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.7322, allocations: 162.8 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.7324, allocations: 80.81 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.7324, allocations: 0 / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7325, allocations: 34.5 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.7325, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0005134/0.733, allocations: 197.5 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.733, allocations: 55.41 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.7332, allocations: 163.3 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.7332, allocations: 25.7 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.7333, allocations: 128.3 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.7333, allocations: 59.56 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.7334, allocations: 29.72 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.7335, allocations: 326.8 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.7336, allocations: 47.97 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.7338, allocations: 58.38 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.734, allocations: 120.7 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.734, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003338/0.7344, allocations: 167.2 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7344, allocations: 4 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7344, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7344, allocations: 8 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.7346, allocations: 39.91 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7346, allocations: 0 / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.7347, allocations: 11.95 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.7347, allocations: 8 kB / 1.227 GB, free: 10.82 MB / 0.9512 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.365e-05/0.7348, allocations: 125.8 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.7349, allocations: 15.91 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.7349, allocations: 21.53 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7349, allocations: 7.984 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.735, allocations: 3.938 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.735, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.7352, allocations: 257.4 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7352, allocations: 4 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.7355, allocations: 39.91 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7355, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7355, allocations: 8 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7355, allocations: 0 / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7355, allocations: 0 / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.736, allocations: 322.2 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.7361, allocations: 93.09 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.7361, allocations: 7.984 kB / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.7363, allocations: 8 kB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.7363, allocations: 7.984 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.7363, allocations: 11.88 kB / 1.228 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.778e-05/0.7364, allocations: 120 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7364, allocations: 0 / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002735/0.7367, allocations: 43.89 kB / 1.228 GB, free: 9.645 MB / 0.9512 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.0007646/0.7375, allocations: 0.8567 MB / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.7378, allocations: 122.1 kB / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7378, allocations: 0 / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.738, allocations: 63.14 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.7383, allocations: 31.98 kB / 1.229 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.7408, allocations: 2.098 MB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.7411, allocations: 0.728 MB / 1.232 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.971e-05/0.7411, allocations: 13.73 kB / 1.232 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.7412, allocations: 55.41 kB / 1.232 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7412, allocations: 7.938 kB / 1.232 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.7616, allocations: 3.402 MB / 1.235 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/8.215, allocations: 15.19 kB / 1.235 GB, free: 2.332 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv","/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) Reference file matches