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.001503/0.001503, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001775/0.001775, allocations: 216.8 kB / 23.04 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_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.003007/0.003007, allocations: 68.53 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3687, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008905/0.3776, allocations: 6.147 MB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.5618, allocations: 155.5 MB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.5629, allocations: 23.81 kB / 1.485 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.5639, allocations: 233.8 kB / 1.485 GB, free: 15.45 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.5666, allocations: 0.6885 MB / 1.485 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.5694, allocations: 1.045 MB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.5723, allocations: 1.975 MB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.5735, allocations: 0.5593 MB / 1.489 GB, free: 11.14 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.575, allocations: 0.7477 MB / 1.49 GB, free: 10.39 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.5766, allocations: 0.7899 MB / 1.49 GB, free: 9.598 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006812/0.5773, allocations: 180 kB / 1.491 GB, free: 9.422 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.5795, allocations: 0.7143 MB / 1.491 GB, free: 8.707 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.5802, allocations: 454.6 kB / 1.492 GB, free: 8.262 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.5816, allocations: 0.797 MB / 1.492 GB, free: 7.461 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.5864, allocations: 2.351 MB / 1.495 GB, free: 5.102 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.5864, allocations: 0 / 1.495 GB, free: 5.102 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5864, allocations: 0 / 1.495 GB, free: 5.102 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.848e-05/0.5865, allocations: 7.938 kB / 1.495 GB, free: 5.094 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.004772/0.5913, allocations: 1.856 MB / 1.497 GB, free: 3.195 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.5913, allocations: 12.03 kB / 1.497 GB, free: 3.184 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.971e-05/0.5914, allocations: 30.66 kB / 1.497 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/0.5916, allocations: 190 kB / 1.497 GB, free: 2.957 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1094/0.701, allocations: 15.47 MB / 1.512 GB, free: 3.461 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.704, allocations: 1.174 MB / 1.513 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.7041, allocations: 94.45 kB / 1.513 GB, free: 2.168 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006756/0.7048, allocations: 123.9 kB / 1.513 GB, free: 2.047 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/0.7419, allocations: 7.681 MB / 1.521 GB, free: 10.29 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.742, allocations: 0 / 1.521 GB, free: 10.29 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/0.7423, allocations: 52 kB / 1.521 GB, free: 10.24 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.7423, allocations: 28 kB / 1.521 GB, free: 10.21 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07063/0.813, allocations: 13.58 MB / 1.534 GB, free: 12.61 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04522/0.8582, allocations: 9.931 MB / 1.544 GB, free: 2.48 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04126/0.8995, allocations: 7.844 MB / 1.551 GB, free: 10.62 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03929/0.9387, allocations: 6.144 MB / 1.557 GB, free: 4.465 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.9393, allocations: 92.81 kB / 1.558 GB, free: 4.375 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06361/1.003, allocations: 6.745 MB / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of pre-optimization done (n=113): time 7.424e-06/1.003, allocations: 0 / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=113): time 0.1208/1.124, allocations: 18.11 MB / 1.582 GB, free: 11.46 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/1.124, allocations: 196.9 kB / 1.582 GB, free: 11.22 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/1.126, allocations: 0.7903 MB / 1.583 GB, free: 10.42 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.127, allocations: 49.7 kB / 1.583 GB, free: 10.37 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007093/1.128, allocations: 0.5092 MB / 1.583 GB, free: 9.852 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.129, allocations: 388.8 kB / 1.584 GB, free: 9.469 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/1.131, allocations: 358.5 kB / 1.584 GB, free: 9.109 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002711/1.131, allocations: 345.9 kB / 1.584 GB, free: 8.766 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03464/1.166, allocations: 6.295 MB / 1.591 GB, free: 2.465 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03508/1.201, allocations: 6.452 MB / 1.597 GB, free: 11.97 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06262/1.264, allocations: 10.89 MB / 1.607 GB, free: 1.051 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.264, allocations: 0 / 1.607 GB, free: 1.051 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.708/1.972, allocations: 12.22 MB / 1.619 GB, free: 281.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/1.972, allocations: 6.375 kB / 1.619 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.972, allocations: 4 kB / 1.619 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/1.972, allocations: 85.75 kB / 1.62 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/1.991, allocations: 2.665 MB / 1.622 GB, free: 281.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/1.993, allocations: 1.531 MB / 1.624 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01757/2.011, allocations: 2.46 MB / 1.626 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006168/2.011, allocations: 99.31 kB / 1.626 GB, free: 279.4 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.001221/2.012, allocations: 325.2 kB / 1.626 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000618/2.013, allocations: 111.5 kB / 1.627 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06503/2.078, allocations: 12.73 MB / 1.639 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/2.078, allocations: 15.62 kB / 1.639 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/2.078, allocations: 0 / 1.639 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/2.078, allocations: 7.922 kB / 1.639 GB, free: 272.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/2.08, allocations: 1.841 MB / 1.641 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/2.08, allocations: 0 / 1.641 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01752/2.098, allocations: 2.658 MB / 1.643 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/2.098, allocations: 75.94 kB / 1.643 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005308/2.099, allocations: 91.12 kB / 1.644 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/2.1, allocations: 1.558 MB / 1.645 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/2.1, allocations: 0 / 1.645 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06102/2.161, allocations: 12.09 MB / 1.657 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/2.163, allocations: 0.5925 MB / 1.657 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006694/2.164, allocations: 31.95 kB / 1.657 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01716/2.181, allocations: 2.408 MB / 1.66 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/2.181, allocations: 101.1 kB / 1.66 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005178/2.182, allocations: 103.8 kB / 1.66 GB, free: 254.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000728/2.182, allocations: 0.5692 MB / 1.661 GB, free: 253.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/2.182, allocations: 0 / 1.661 GB, free: 253.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002231/2.185, allocations: 0.7227 MB / 1.661 GB, free: 253.1 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.06426/2.249, allocations: 13.22 MB / 1.674 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06279/2.312, allocations: 12.82 MB / 1.687 GB, free: 227.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/2.312, allocations: 0 / 1.687 GB, free: 227.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03149/2.343, allocations: 6.454 MB / 1.693 GB, free: 220.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/2.345, allocations: 343.9 kB / 1.693 GB, free: 220.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1913/2.536, allocations: 43.45 MB / 1.736 GB, free: 176.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/2.537, allocations: 1.161 MB / 1.737 GB, free: 175.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00344/2.54, allocations: 0.7312 MB / 1.738 GB, free: 175 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/2.542, allocations: 0.6452 MB / 1.738 GB, free: 174.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.483e-06/2.542, allocations: 0 / 1.738 GB, free: 174.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0816/2.624, allocations: 49.03 MB / 1.786 GB, free: 125.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/18.38, allocations: 4.062 kB / 1.786 GB, free: 125.5 MB / 1.295 GB " [Timeout remaining time 281] (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: 25.83457054203609]