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.001711/0.001711, 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.001459/0.001459, allocations: 217.6 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] 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 3.238/3.238, allocations: 0.5003 GB / 0.8062 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_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.002008/0.002008, allocations: 65.69 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3899, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.0112/0.4011, allocations: 6.673 MB / 1.352 GB, free: 9.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2075/0.6086, allocations: 155.6 MB / 1.504 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.6106, allocations: 27.81 kB / 1.504 GB, free: 13.52 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.6121, allocations: 249.7 kB / 1.504 GB, free: 13.28 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.6163, allocations: 0.7384 MB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.6202, allocations: 1.084 MB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004221/0.6244, allocations: 2.173 MB / 1.508 GB, free: 9.281 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.6261, allocations: 0.629 MB / 1.509 GB, free: 8.617 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.6279, allocations: 0.8178 MB / 1.509 GB, free: 7.797 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.6297, allocations: 0.8794 MB / 1.51 GB, free: 6.914 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007601/0.6305, allocations: 208 kB / 1.51 GB, free: 6.711 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.6327, allocations: 0.7573 MB / 1.511 GB, free: 5.953 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.6335, allocations: 498.5 kB / 1.512 GB, free: 5.465 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.6351, allocations: 0.9059 MB / 1.512 GB, free: 4.555 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.64, allocations: 2.686 MB / 1.515 GB, free: 1.859 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.64, allocations: 0 / 1.515 GB, free: 1.859 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.984e-06/0.64, allocations: 0 / 1.515 GB, free: 1.859 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001088/0.6401, allocations: 0 / 1.515 GB, free: 1.859 MB / 1.201 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.006301/0.6464, allocations: 1.98 MB / 1.517 GB, free: 15.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6465, allocations: 8.031 kB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.308e-05/0.6465, allocations: 38.94 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004713/0.647, allocations: 199 kB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1182/0.7652, allocations: 16.11 MB / 1.533 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.7699, allocations: 1.375 MB / 1.534 GB, free: 14.05 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.7701, allocations: 102.8 kB / 1.534 GB, free: 13.95 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.7712, allocations: 136 kB / 1.535 GB, free: 13.82 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/0.8125, allocations: 8.342 MB / 1.543 GB, free: 5.406 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.8125, allocations: 3.938 kB / 1.543 GB, free: 5.402 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/0.8129, allocations: 67.98 kB / 1.543 GB, free: 5.336 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.8129, allocations: 32 kB / 1.543 GB, free: 5.305 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07593/0.8889, allocations: 14.62 MB / 1.557 GB, free: 6.66 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05247/0.9413, allocations: 12.04 MB / 1.569 GB, free: 10.4 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06627/1.008, allocations: 10.34 MB / 1.579 GB, free: 44 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03717/1.045, allocations: 6.7 MB / 1.585 GB, free: 9.324 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/1.045, allocations: 80.81 kB / 1.586 GB, free: 9.25 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03873/1.084, allocations: 7.338 MB / 1.593 GB, free: 1.887 MB / 1.279 GB Notification: Performance of pre-optimization done (n=115): time 4.087e-06/1.084, allocations: 0 / 1.593 GB, free: 1.887 MB / 1.279 GB Notification: Performance of matching and sorting (n=115): time 0.8334/1.917, allocations: 19.57 MB / 1.612 GB, free: 264.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.918, allocations: 199.7 kB / 1.612 GB, free: 264.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/1.92, allocations: 0.8323 MB / 1.613 GB, free: 264.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009202/1.92, allocations: 50.77 kB / 1.613 GB, free: 264.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007084/1.921, allocations: 0.5661 MB / 1.613 GB, free: 264.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007679/1.922, allocations: 390.5 kB / 1.614 GB, free: 264.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/1.923, allocations: 376.7 kB / 1.614 GB, free: 264 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.924, allocations: 351.5 kB / 1.615 GB, free: 263.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0396/1.963, allocations: 6.79 MB / 1.621 GB, free: 262.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03824/2.001, allocations: 6.945 MB / 1.628 GB, free: 261.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06562/2.067, allocations: 11.59 MB / 1.639 GB, free: 256.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/2.067, allocations: 0 / 1.639 GB, free: 256.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06716/2.134, allocations: 13.08 MB / 1.652 GB, free: 249.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/2.134, allocations: 7.844 kB / 1.652 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/2.134, allocations: 0 / 1.652 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/2.135, allocations: 85.84 kB / 1.652 GB, free: 249.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0184/2.153, allocations: 2.765 MB / 1.655 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/2.155, allocations: 1.543 MB / 1.656 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/2.173, allocations: 2.541 MB / 1.659 GB, free: 242.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000789/2.174, allocations: 107.8 kB / 1.659 GB, free: 242.8 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.001272/2.176, allocations: 349.7 kB / 1.659 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000643/2.176, allocations: 119.2 kB / 1.659 GB, free: 242.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06854/2.245, allocations: 13.79 MB / 1.673 GB, free: 228.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/2.245, allocations: 12 kB / 1.673 GB, free: 228.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/2.245, allocations: 0 / 1.673 GB, free: 228.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/2.245, allocations: 11.97 kB / 1.673 GB, free: 228.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/2.247, allocations: 2.601 MB / 1.675 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/2.247, allocations: 3.984 kB / 1.675 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01861/2.266, allocations: 2.753 MB / 1.678 GB, free: 223.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/2.266, allocations: 68.8 kB / 1.678 GB, free: 223.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006273/2.267, allocations: 107.4 kB / 1.678 GB, free: 223 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/2.269, allocations: 1.58 MB / 1.68 GB, free: 221.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.269, allocations: 0 / 1.68 GB, free: 221.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06778/2.336, allocations: 13.01 MB / 1.693 GB, free: 208.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/2.338, allocations: 0.7576 MB / 1.693 GB, free: 207.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005752/2.339, allocations: 26.67 kB / 1.693 GB, free: 207.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01821/2.357, allocations: 2.488 MB / 1.696 GB, free: 205 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/2.357, allocations: 97.12 kB / 1.696 GB, free: 204.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005172/2.358, allocations: 115.8 kB / 1.696 GB, free: 204.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007387/2.359, allocations: 0.5929 MB / 1.696 GB, free: 204.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/2.359, allocations: 0 / 1.696 GB, free: 204.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002203/2.361, allocations: 0.7503 MB / 1.697 GB, free: 203.5 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 (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.06866/2.43, allocations: 14.11 MB / 1.711 GB, free: 189.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06892/2.498, allocations: 13.86 MB / 1.725 GB, free: 175.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/2.498, allocations: 64 / 1.725 GB, free: 175.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0347/2.533, allocations: 7.005 MB / 1.731 GB, free: 168.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/2.535, allocations: 357.3 kB / 1.732 GB, free: 168.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.209/2.744, allocations: 46.86 MB / 1.777 GB, free: 121.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/2.745, allocations: 1.199 MB / 1.779 GB, free: 120 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003746/2.748, allocations: 0.8174 MB / 1.779 GB, free: 119.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/2.751, allocations: 0.6981 MB / 1.78 GB, free: 118.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.332e-06/2.751, allocations: 0 / 1.78 GB, free: 118.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08125/2.832, allocations: 54.09 MB / 1.833 GB, free: 64.53 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/18.53, allocations: 8.125 kB / 1.833 GB, free: 64.53 MB / 1.295 GB " [Timeout remaining time 281] (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/jenkins1/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: 25.65990177099593]