Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.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.001314/0.001314, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00149/0.00149, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.352/3.352, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",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.002037/0.002037, allocations: 66.3 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.391, allocations: 176.1 MB / 1.327 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009949/0.401, allocations: 6.696 MB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1961/0.597, allocations: 155.6 MB / 1.485 GB, free: 15.13 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.5984, allocations: 31.75 kB / 1.485 GB, free: 15.1 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.5996, allocations: 249.6 kB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.6029, allocations: 0.7274 MB / 1.486 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.6063, allocations: 1.088 MB / 1.487 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003622/0.6099, allocations: 2.169 MB / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.6117, allocations: 0.6368 MB / 1.49 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.6134, allocations: 0.8256 MB / 1.491 GB, free: 9.367 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.6151, allocations: 0.8677 MB / 1.492 GB, free: 8.496 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.6157, allocations: 212 kB / 1.492 GB, free: 8.289 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.618, allocations: 0.7494 MB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009477/0.6189, allocations: 0.4946 MB / 1.493 GB, free: 7.043 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.6207, allocations: 0.8982 MB / 1.494 GB, free: 6.141 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004989/0.6257, allocations: 2.686 MB / 1.496 GB, free: 3.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.6257, allocations: 8 kB / 1.496 GB, free: 3.438 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6257, allocations: 0 / 1.496 GB, free: 3.438 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001027/0.6258, allocations: 0 / 1.496 GB, free: 3.438 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.006373/0.6322, allocations: 1.978 MB / 1.498 GB, free: 1.418 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6323, allocations: 8.031 kB / 1.498 GB, free: 1.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.176e-05/0.6323, allocations: 34.94 kB / 1.498 GB, free: 1.375 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004971/0.6328, allocations: 207 kB / 1.499 GB, free: 1.164 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1151/0.7479, allocations: 15.49 MB / 1.514 GB, free: 1.645 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.7518, allocations: 1.354 MB / 1.515 GB, free: 268 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.7519, allocations: 102.8 kB / 1.515 GB, free: 164 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009009/0.7528, allocations: 132 kB / 1.515 GB, free: 32 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04086/0.7937, allocations: 8.045 MB / 1.523 GB, free: 7.914 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.7937, allocations: 4 kB / 1.523 GB, free: 7.91 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007443/0.7945, allocations: 56 kB / 1.523 GB, free: 7.855 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.7945, allocations: 36 kB / 1.523 GB, free: 7.82 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0759/0.8704, allocations: 14.14 MB / 1.537 GB, free: 9.66 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05124/0.9217, allocations: 11.65 MB / 1.548 GB, free: 13.79 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04309/0.9648, allocations: 8.208 MB / 1.556 GB, free: 5.57 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03545/1, allocations: 6.452 MB / 1.563 GB, free: 15.11 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/1.001, allocations: 80.97 kB / 1.563 GB, free: 15.03 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03688/1.038, allocations: 7.057 MB / 1.57 GB, free: 7.941 MB / 1.264 GB Notification: Performance of pre-optimization done (n=115): time 4.098e-06/1.038, allocations: 0 / 1.57 GB, free: 7.941 MB / 1.264 GB Notification: Performance of matching and sorting (n=115): time 0.1066/1.144, allocations: 18.89 MB / 1.588 GB, free: 5.023 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/1.144, allocations: 196.9 kB / 1.588 GB, free: 4.789 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.146, allocations: 0.8375 MB / 1.589 GB, free: 3.938 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006243/1.146, allocations: 53.69 kB / 1.589 GB, free: 3.879 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/1.147, allocations: 0.5599 MB / 1.59 GB, free: 3.312 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/1.148, allocations: 392.7 kB / 1.59 GB, free: 2.926 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/1.149, allocations: 354.5 kB / 1.59 GB, free: 2.574 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.149, allocations: 353.9 kB / 1.591 GB, free: 2.223 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03543/1.184, allocations: 6.545 MB / 1.597 GB, free: 11.67 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03597/1.22, allocations: 6.71 MB / 1.604 GB, free: 4.918 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8282/2.048, allocations: 11.19 MB / 1.615 GB, free: 281.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/2.048, allocations: 1.797 kB / 1.615 GB, free: 281.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07037/2.119, allocations: 12.64 MB / 1.627 GB, free: 278.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/2.119, allocations: 6.188 kB / 1.627 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/2.119, allocations: 1.062 kB / 1.627 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/2.12, allocations: 86.47 kB / 1.627 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/2.138, allocations: 2.663 MB / 1.63 GB, free: 277.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/2.14, allocations: 1.552 MB / 1.631 GB, free: 275.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01833/2.158, allocations: 2.456 MB / 1.634 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000713/2.159, allocations: 108.6 kB / 1.634 GB, free: 274.5 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.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (134): * Single equations (assignments): 133 * 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.001373/2.16, allocations: 345 kB / 1.634 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006846/2.161, allocations: 116.2 kB / 1.634 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06681/2.228, allocations: 13.2 MB / 1.647 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/2.228, allocations: 16 kB / 1.647 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.228, allocations: 7.938 kB / 1.647 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/2.228, allocations: 7.969 kB / 1.647 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/2.23, allocations: 2.438 MB / 1.649 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/2.231, allocations: 0 / 1.649 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01782/2.248, allocations: 2.656 MB / 1.652 GB, free: 262.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/2.249, allocations: 72.78 kB / 1.652 GB, free: 262.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006598/2.249, allocations: 91.81 kB / 1.652 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/2.251, allocations: 1.58 MB / 1.654 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.251, allocations: 0 / 1.654 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0645/2.316, allocations: 12.56 MB / 1.666 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/2.318, allocations: 0.7353 MB / 1.667 GB, free: 247 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006707/2.318, allocations: 32.08 kB / 1.667 GB, free: 247 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01755/2.336, allocations: 2.403 MB / 1.669 GB, free: 244.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/2.336, allocations: 105.1 kB / 1.669 GB, free: 244.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007187/2.337, allocations: 111.8 kB / 1.669 GB, free: 244.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001003/2.338, allocations: 0.5968 MB / 1.67 GB, free: 243.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/2.338, allocations: 0 / 1.67 GB, free: 243.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002797/2.341, allocations: 0.7521 MB / 1.671 GB, free: 243 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * 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.06585/2.407, allocations: 13.68 MB / 1.684 GB, free: 229.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06475/2.471, allocations: 13.38 MB / 1.697 GB, free: 216.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.471, allocations: 0 / 1.697 GB, free: 216.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03324/2.505, allocations: 6.755 MB / 1.704 GB, free: 209.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/2.507, allocations: 352.4 kB / 1.704 GB, free: 209.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.201/2.708, allocations: 45.41 MB / 1.748 GB, free: 163.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/2.708, allocations: 1.201 MB / 1.75 GB, free: 162.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003301/2.712, allocations: 0.7511 MB / 1.75 GB, free: 161.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/2.714, allocations: 0.6825 MB / 1.751 GB, free: 160.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.482e-06/2.714, allocations: 0 / 1.751 GB, free: 160.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08313/2.797, allocations: 52.51 MB / 1.802 GB, free: 108.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/19.05, allocations: 23.36 kB / 1.802 GB, free: 108.5 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.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: 26.743620510038454]