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.001604/0.001604, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001984/0.001984, allocations: 217 kB / 22.25 MB, free: 5.078 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8.027 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.313/3.313, allocations: 0.49 GB / 0.7951 GB, free: 33.26 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.002066/0.002066, allocations: 70.17 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3446, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003825/0.3484, allocations: 2.272 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3497, allocations: 0.7633 MB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3498, allocations: 4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.3503, allocations: 95.39 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.3504, allocations: 59.48 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.922e-05/0.3505, allocations: 39.94 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3507, allocations: 215 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3509, allocations: 64.42 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.351, allocations: 79.72 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3512, allocations: 87.55 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3512, allocations: 16 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.3512, allocations: 16 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.3513, allocations: 39.84 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.3514, allocations: 87.53 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3516, allocations: 191.1 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3516, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3516, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3516, allocations: 4 kB / 1.33 GB, free: 13.89 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.0007743/0.3524, allocations: 417.4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3525, allocations: 12.03 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.3525, allocations: 46.73 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.3526, allocations: 28.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.353, allocations: 195.4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.353, allocations: 8.375 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3531, allocations: 16.38 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.3534, allocations: 153.9 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3534, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3534, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3534, allocations: 8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.3538, allocations: 115.8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.3545, allocations: 475.2 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.355, allocations: 158.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3551, allocations: 68.81 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3551, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3552, allocations: 34.56 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3552, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005529/0.3557, allocations: 197.4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3558, allocations: 51.41 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3559, allocations: 159.3 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.356, allocations: 25.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.356, allocations: 124.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.3561, allocations: 63.47 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.3562, allocations: 33.72 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3563, allocations: 326.8 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3565, allocations: 47.91 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3566, allocations: 55.88 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.3569, allocations: 110.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3569, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003345/0.3572, allocations: 175.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3572, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3572, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3573, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3574, allocations: 39.97 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3574, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.3575, allocations: 19.89 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3575, allocations: 3.938 kB / 1.333 GB, free: 10.58 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.0001314/0.3577, allocations: 137.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3577, allocations: 11.95 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.3578, allocations: 17.47 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3578, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3578, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3578, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3581, allocations: 228.5 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3581, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3583, allocations: 47.97 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3583, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3583, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3583, allocations: 3.938 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3583, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.3588, allocations: 312.9 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.3589, allocations: 27.88 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3589, allocations: 4 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.359, allocations: 11.98 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3591, allocations: 3.984 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3591, allocations: 4 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3592, allocations: 120 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002654/0.3595, allocations: 43.89 kB / 1.334 GB, free: 9.539 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.0009408/0.3604, allocations: 0.8593 MB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.3607, allocations: 113.5 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3607, allocations: 4 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3609, allocations: 67.89 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3612, allocations: 19.94 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.3642, allocations: 2.11 MB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3646, allocations: 0.7242 MB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.897e-05/0.3647, allocations: 21.47 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.3647, allocations: 51.42 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of SimCode: time 1.233e-06/0.3647, allocations: 0 / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.4087, allocations: 3.554 MB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 12.23 kB / 1.341 GB, free: 2.035 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.csv","/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] "Error: Could not read variable heaCapGla.portSha.T in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portSha.T from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! Error: Could not read variable heaCapGla.portUns.T in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portUns.T from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! Error: Could not read variable heaCapGla.portSha.Q_flow in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portSha.Q_flow from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! Error: Could not read variable heaCapGla.portUns.Q_flow in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portUns.Q_flow from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.738809071001015]