Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008345/0.0008345, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009348/0.0009348, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8469/0.8469, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.715/1.715, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.587e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005476/0.005502, allocations: 5.88 MB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6234/0.6289, allocations: 133.4 MB / 1.136 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009229/0.6298, allocations: 29.19 kB / 1.136 GB, free: 13.37 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.6304, allocations: 252.8 kB / 1.136 GB, free: 13.2 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.6322, allocations: 0.7459 MB / 1.137 GB, free: 12.75 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.6342, allocations: 1.097 MB / 1.138 GB, free: 12.15 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.6366, allocations: 2.256 MB / 1.14 GB, free: 10.95 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.6375, allocations: 0.6103 MB / 1.141 GB, free: 10.59 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.6393, allocations: 1.223 MB / 1.142 GB, free: 9.992 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.6401, allocations: 0.6879 MB / 1.142 GB, free: 9.727 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.6403, allocations: 221.1 kB / 1.143 GB, free: 9.723 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.6416, allocations: 0.7254 MB / 1.143 GB, free: 9.566 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.642, allocations: 0.5061 MB / 1.144 GB, free: 9.227 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005622/0.6425, allocations: 0.6402 MB / 1.144 GB, free: 8.898 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.6461, allocations: 2.904 MB / 1.147 GB, free: 7.688 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6461, allocations: 0 / 1.147 GB, free: 7.688 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6461, allocations: 0 / 1.147 GB, free: 7.688 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.578e-05/0.6461, allocations: 0 / 1.147 GB, free: 7.688 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.003418/0.6496, allocations: 1.993 MB / 1.149 GB, free: 6.445 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.6496, allocations: 10.88 kB / 1.149 GB, free: 6.445 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.6498, allocations: 205.8 kB / 1.149 GB, free: 6.316 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0557/0.7055, allocations: 16.11 MB / 1.165 GB, free: 4.523 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.7084, allocations: 1.393 MB / 1.167 GB, free: 3.434 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.7084, allocations: 105.9 kB / 1.167 GB, free: 3.387 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/0.7088, allocations: 151.3 kB / 1.167 GB, free: 3.332 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.7293, allocations: 8.613 MB / 1.175 GB, free: 14.32 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.7293, allocations: 1.25 kB / 1.175 GB, free: 14.32 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.7296, allocations: 60.86 kB / 1.175 GB, free: 14.27 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.7297, allocations: 34.78 kB / 1.175 GB, free: 14.27 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03656/0.7662, allocations: 14.58 MB / 1.189 GB, free: 6.684 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.7922, allocations: 10.5 MB / 1.2 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03046/0.8226, allocations: 10.4 MB / 1.21 GB, free: 4.703 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01757/0.8402, allocations: 6.718 MB / 1.216 GB, free: 13.97 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.8404, allocations: 72.44 kB / 1.217 GB, free: 13.91 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01827/0.8587, allocations: 7.458 MB / 1.224 GB, free: 6.395 MB / 1.057 GB Notification: Performance of pre-optimization done (n=125): time 5.139e-06/0.8587, allocations: 7.281 kB / 1.224 GB, free: 6.391 MB / 1.057 GB Notification: Performance of matching and sorting (n=125): time 0.05229/0.911, allocations: 19.61 MB / 1.243 GB, free: 2.746 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.9111, allocations: 212.8 kB / 1.243 GB, free: 2.492 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9121, allocations: 0.8452 MB / 1.244 GB, free: 1.637 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005772/0.9127, allocations: 61.69 kB / 1.244 GB, free: 1.57 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.9131, allocations: 0.5601 MB / 1.245 GB, free: 1.004 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/0.9135, allocations: 420.5 kB / 1.245 GB, free: 0.5898 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007612/0.9143, allocations: 390.4 kB / 1.245 GB, free: 208 kB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9144, allocations: 353.9 kB / 1.246 GB, free: 15.85 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01735/0.9318, allocations: 6.822 MB / 1.252 GB, free: 9.02 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01793/0.9497, allocations: 7.147 MB / 1.259 GB, free: 1.785 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03235/0.982, allocations: 11.65 MB / 1.271 GB, free: 6.109 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.9821, allocations: 3.938 kB / 1.271 GB, free: 6.105 MB / 1.104 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.03551/1.018, allocations: 13.17 MB / 1.284 GB, free: 8.914 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.018, allocations: 8 kB / 1.284 GB, free: 8.906 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.018, allocations: 0 / 1.284 GB, free: 8.906 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/1.018, allocations: 84.83 kB / 1.284 GB, free: 8.82 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009649/1.028, allocations: 2.776 MB / 1.286 GB, free: 6.039 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/1.029, allocations: 1.535 MB / 1.288 GB, free: 4.391 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009339/1.039, allocations: 2.557 MB / 1.29 GB, free: 1.832 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005674/1.039, allocations: 111.8 kB / 1.291 GB, free: 1.723 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 (ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (150): * Single equations (assignments): 149 * 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.001173/1.04, allocations: 361.5 kB / 1.291 GB, free: 1.363 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/1.041, allocations: 119.2 kB / 1.291 GB, free: 1.246 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03619/1.077, allocations: 13.83 MB / 1.304 GB, free: 3.398 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.077, allocations: 12 kB / 1.304 GB, free: 3.387 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.077, allocations: 3.984 kB / 1.304 GB, free: 3.383 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.077, allocations: 3.984 kB / 1.304 GB, free: 3.379 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03801/1.115, allocations: 16.12 MB / 1.32 GB, free: 3.168 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.115, allocations: 0 / 1.32 GB, free: 3.168 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009596/1.125, allocations: 2.757 MB / 1.323 GB, free: 416 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/1.125, allocations: 68.8 kB / 1.323 GB, free: 344 kB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006014/1.126, allocations: 103.8 kB / 1.323 GB, free: 240 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/1.127, allocations: 1.563 MB / 1.325 GB, free: 14.55 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.127, allocations: 3.938 kB / 1.325 GB, free: 14.55 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03424/1.161, allocations: 13.12 MB / 1.337 GB, free: 1.398 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.163, allocations: 0.7676 MB / 1.338 GB, free: 0.6289 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/1.163, allocations: 32 kB / 1.338 GB, free: 0.5977 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008612/1.172, allocations: 2.484 MB / 1.341 GB, free: 14.11 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/1.172, allocations: 109 kB / 1.341 GB, free: 14 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/1.173, allocations: 111.8 kB / 1.341 GB, free: 13.89 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0008291/1.174, allocations: 0.5968 MB / 1.341 GB, free: 13.28 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.9e-07/1.174, allocations: 4 kB / 1.341 GB, free: 13.28 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002123/1.176, allocations: 0.7566 MB / 1.342 GB, free: 12.52 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.03554/1.211, allocations: 14.26 MB / 1.356 GB, free: 14.43 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.03582/1.247, allocations: 13.92 MB / 1.37 GB, free: 492 kB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.247, allocations: 12 kB / 1.37 GB, free: 480 kB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01756/1.265, allocations: 7.013 MB / 1.377 GB, free: 9.438 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.266, allocations: 350.2 kB / 1.377 GB, free: 9.113 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1134/1.379, allocations: 47.27 MB / 1.423 GB, free: 9.637 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/1.38, allocations: 0.6136 MB / 1.424 GB, free: 8.992 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.002974/1.383, allocations: 0.8256 MB / 1.424 GB, free: 8.164 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.385, allocations: 0.6991 MB / 1.425 GB, free: 7.461 MB / 1.26 GB Notification: Performance of SimCode: time 1.723e-06/1.385, allocations: 0 / 1.425 GB, free: 7.461 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/1.456, allocations: 57.76 MB / 1.482 GB, free: 13.98 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.639/10.1, allocations: 4.062 kB / 1.482 GB, free: 13.97 MB / 1.323 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.223169291391969]