Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.001517/0.001517, allocations: 111 kB / 16.46 MB, free: 6.453 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.00163/0.00163, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.39/1.39, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.019/3.019, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",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.00199/0.00199, allocations: 67.31 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008689/0.2984, allocations: 6.12 MB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.4774, allocations: 155.3 MB / 1.478 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009701/0.4783, allocations: 27.75 kB / 1.478 GB, free: 1.293 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.4791, allocations: 233.7 kB / 1.479 GB, free: 1.062 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.4816, allocations: 0.6909 MB / 1.479 GB, free: 380 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.4842, allocations: 1.03 MB / 1.48 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002609/0.4868, allocations: 1.971 MB / 1.482 GB, free: 13.37 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.4879, allocations: 0.5586 MB / 1.483 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.4891, allocations: 0.7477 MB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.4904, allocations: 0.7899 MB / 1.484 GB, free: 11.23 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.4908, allocations: 172 kB / 1.485 GB, free: 11.06 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.4924, allocations: 0.7221 MB / 1.485 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000568/0.493, allocations: 442.6 kB / 1.486 GB, free: 9.906 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.4941, allocations: 0.8047 MB / 1.486 GB, free: 9.098 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.4974, allocations: 2.351 MB / 1.489 GB, free: 6.738 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4974, allocations: 0 / 1.489 GB, free: 6.738 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4974, allocations: 3.938 kB / 1.489 GB, free: 6.734 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.4975, allocations: 0 / 1.489 GB, free: 6.734 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004204/0.5017, allocations: 1.924 MB / 1.491 GB, free: 4.75 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5018, allocations: 11.98 kB / 1.491 GB, free: 4.738 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.502, allocations: 190 kB / 1.491 GB, free: 4.543 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1111/0.6131, allocations: 15.48 MB / 1.506 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.6156, allocations: 1.239 MB / 1.507 GB, free: 3.754 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.6157, allocations: 98.47 kB / 1.507 GB, free: 3.656 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.6162, allocations: 124 kB / 1.507 GB, free: 3.535 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03581/0.652, allocations: 7.677 MB / 1.515 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.652, allocations: 0 / 1.515 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.6523, allocations: 56 kB / 1.515 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.6524, allocations: 32 kB / 1.515 GB, free: 11.7 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06896/0.7213, allocations: 13.58 MB / 1.528 GB, free: 14.1 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04228/0.7636, allocations: 9.985 MB / 1.538 GB, free: 3.914 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04093/0.8045, allocations: 7.845 MB / 1.546 GB, free: 12.05 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03372/0.8382, allocations: 6.148 MB / 1.552 GB, free: 5.895 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.8388, allocations: 0.6062 MB / 1.552 GB, free: 5.156 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03452/0.8734, allocations: 6.752 MB / 1.559 GB, free: 14.38 MB / 1.264 GB Notification: Performance of pre-optimization done (n=113): time 2.865e-06/0.8734, allocations: 0 / 1.559 GB, free: 14.38 MB / 1.264 GB Notification: Performance of matching and sorting (n=113): time 0.1003/0.9736, allocations: 18.19 MB / 1.577 GB, free: 12.13 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.9738, allocations: 196.9 kB / 1.577 GB, free: 11.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.975, allocations: 0.7903 MB / 1.578 GB, free: 11.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004913/0.9755, allocations: 49.7 kB / 1.578 GB, free: 11.05 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.9759, allocations: 0.5092 MB / 1.578 GB, free: 10.53 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000593/0.9765, allocations: 384.7 kB / 1.578 GB, free: 10.16 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.9776, allocations: 354.5 kB / 1.579 GB, free: 9.801 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9777, allocations: 349.9 kB / 1.579 GB, free: 9.453 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03368/1.011, allocations: 6.299 MB / 1.585 GB, free: 3.148 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03319/1.045, allocations: 6.444 MB / 1.592 GB, free: 12.66 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06219/1.107, allocations: 10.9 MB / 1.602 GB, free: 1.738 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.107, allocations: 4 kB / 1.602 GB, free: 1.734 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.6409/1.748, allocations: 12.21 MB / 1.614 GB, free: 281.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.748, allocations: 5.688 kB / 1.614 GB, free: 281.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.748, allocations: 4.969 kB / 1.614 GB, free: 281.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/1.748, allocations: 78.8 kB / 1.614 GB, free: 281.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01897/1.767, allocations: 2.673 MB / 1.617 GB, free: 281.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/1.769, allocations: 1.636 MB / 1.618 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/1.787, allocations: 2.459 MB / 1.621 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/1.788, allocations: 102.5 kB / 1.621 GB, free: 280.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (ove.solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009866/1.789, allocations: 319.3 kB / 1.621 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/1.789, allocations: 113 kB / 1.621 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0651/1.854, allocations: 12.72 MB / 1.634 GB, free: 273.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.854, allocations: 19.38 kB / 1.634 GB, free: 273.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.854, allocations: 3.984 kB / 1.634 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.854, allocations: 7.922 kB / 1.634 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/1.856, allocations: 1.869 MB / 1.636 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.856, allocations: 2.5 kB / 1.636 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01687/1.873, allocations: 2.653 MB / 1.638 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/1.873, allocations: 68.77 kB / 1.638 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004026/1.874, allocations: 98.95 kB / 1.638 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/1.875, allocations: 1.657 MB / 1.64 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.875, allocations: 5.156 kB / 1.64 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06216/1.937, allocations: 12.1 MB / 1.652 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.939, allocations: 0.683 MB / 1.652 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/1.939, allocations: 28 kB / 1.652 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01689/1.956, allocations: 2.4 MB / 1.655 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.956, allocations: 97.17 kB / 1.655 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.957, allocations: 107.8 kB / 1.655 GB, free: 255.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006066/1.957, allocations: 0.5653 MB / 1.656 GB, free: 254.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.957, allocations: 0 / 1.656 GB, free: 254.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001797/1.959, allocations: 0.7215 MB / 1.656 GB, free: 254 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06378/2.023, allocations: 13.23 MB / 1.669 GB, free: 241 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0627/2.085, allocations: 12.83 MB / 1.682 GB, free: 228.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/2.085, allocations: 0 / 1.682 GB, free: 228.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03133/2.117, allocations: 6.458 MB / 1.688 GB, free: 221.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/2.118, allocations: 332.1 kB / 1.688 GB, free: 221.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1923/2.311, allocations: 43.45 MB / 1.731 GB, free: 177.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/2.311, allocations: 1.157 MB / 1.732 GB, free: 176.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003045/2.314, allocations: 0.7351 MB / 1.733 GB, free: 175.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/2.316, allocations: 0.6395 MB / 1.733 GB, free: 175.2 MB / 1.295 GB Notification: Performance of SimCode: time 6.81e-07/2.316, allocations: 0 / 1.733 GB, free: 175.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07636/2.393, allocations: 47.51 MB / 1.78 GB, free: 127.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/16.53, allocations: 26.89 kB / 1.78 GB, free: 127.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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: 22.88113118498586]