Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.001545/0.001545, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001721/0.001721, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.408/1.408, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.068/3.068, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.00194/0.00194, allocations: 69.19 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3397, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004637/0.3444, allocations: 3.053 MB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3461, allocations: 0.9503 MB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3463, allocations: 4 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.3467, allocations: 127.1 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.347, allocations: 142.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.3472, allocations: 87.89 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.3476, allocations: 457.8 kB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3478, allocations: 113.8 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.348, allocations: 163.4 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.3483, allocations: 179.2 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.3483, allocations: 32 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.3484, allocations: 28 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.3484, allocations: 83.62 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3486, allocations: 191.1 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.3491, allocations: 402.3 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3491, allocations: 8 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3491, allocations: 0 / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.3491, allocations: 0 / 1.327 GB, free: 13.32 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009921/0.3501, allocations: 0.643 MB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3501, allocations: 19.98 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.3502, allocations: 74.66 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.3503, allocations: 48.64 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.3508, allocations: 312.5 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.3508, allocations: 29.38 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.3509, allocations: 40.36 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.3514, allocations: 362.9 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.3515, allocations: 7.953 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.3515, allocations: 12 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3515, allocations: 12 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.3519, allocations: 219.1 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.3535, allocations: 1.47 MB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.354, allocations: 274.5 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3541, allocations: 115.4 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3542, allocations: 11.94 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3542, allocations: 34.56 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.3542, allocations: 0 / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0005614/0.3548, allocations: 281.2 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.3548, allocations: 132.5 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3551, allocations: 234.6 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3551, allocations: 37.7 kB / 1.331 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3553, allocations: 192.5 kB / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3554, allocations: 119 kB / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3555, allocations: 66.06 kB / 1.331 GB, free: 8.289 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3556, allocations: 338.8 kB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3558, allocations: 72.66 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.356, allocations: 150 kB / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.3563, allocations: 232.4 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3563, allocations: 0 / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004523/0.3567, allocations: 313.2 kB / 1.332 GB, free: 7.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3568, allocations: 8 kB / 1.332 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3568, allocations: 0 / 1.332 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3568, allocations: 4 kB / 1.332 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.3571, allocations: 88.06 kB / 1.332 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3571, allocations: 8 kB / 1.332 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3572, allocations: 35.67 kB / 1.332 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.3573, allocations: 16 kB / 1.332 GB, free: 6.977 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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.0001495/0.3574, allocations: 157.6 kB / 1.333 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3575, allocations: 32.5 kB / 1.333 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.3576, allocations: 37.7 kB / 1.333 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3576, allocations: 4 kB / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3576, allocations: 0 / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3576, allocations: 4 kB / 1.333 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.3581, allocations: 349.3 kB / 1.333 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3582, allocations: 7.938 kB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.3585, allocations: 79.91 kB / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3585, allocations: 4 kB / 1.333 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3585, allocations: 8 kB / 1.333 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3585, allocations: 3.984 kB / 1.333 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3586, allocations: 4 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.3592, allocations: 0.6227 MB / 1.334 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3593, allocations: 125 kB / 1.334 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.3593, allocations: 8 kB / 1.334 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3596, allocations: 11.94 kB / 1.334 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3596, allocations: 19.97 kB / 1.334 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3596, allocations: 8 kB / 1.334 GB, free: 5.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000187/0.3598, allocations: 178 kB / 1.334 GB, free: 5.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 1.334 GB, free: 5.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000477/0.3603, allocations: 91.84 kB / 1.334 GB, free: 5.145 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.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 (30): * Single equations (assignments): 30 * 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.0009398/0.3612, allocations: 1.184 MB / 1.335 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3616, allocations: 196.1 kB / 1.335 GB, free: 3.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3616, allocations: 0 / 1.335 GB, free: 3.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3617, allocations: 87.84 kB / 1.336 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.3623, allocations: 49.22 kB / 1.336 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.3669, allocations: 3.569 MB / 1.339 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.3674, allocations: 0.791 MB / 1.34 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000146/0.3675, allocations: 34.95 kB / 1.34 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3677, allocations: 103.4 kB / 1.34 GB, free: 14.94 MB / 1.045 GB Notification: Performance of SimCode: time 1.844e-06/0.3677, allocations: 4 kB / 1.34 GB, free: 14.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.4039, allocations: 5.795 MB / 1.346 GB, free: 9.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.795, allocations: 10.28 kB / 1.346 GB, free: 9.312 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_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_HeatCapacityConstantShade.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCapGla.portUns.T in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv. Warning: Get data of variable heaCapGla.portUns.T from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv failed! Error: Could not read variable heaCapGla.portSha.T in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv. Warning: Get data of variable heaCapGla.portSha.T from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.251308666076511]